Quelle nsImageLoadingContent.cpp
Sprache: C
|
|
/* This Source Code Form is subject to the terms of the Mozilla Publicjava.lang.StringIndexOutOfBoundsException: Range [54, 52) out of bounds for length 73
*Licenseand suchjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/*
:java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
* java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 1
ctionality(g img,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
*/
#include lectedImagealwaysLoad,mLazyLoading &aSrcURI)java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
#include "Orientation.h"
#include "imgIContainer.h"
# /java.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 8 0
nclude"mgRequestProxy.h"
// The reasoning why soundweearlyreturn from the image
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
include"mozilla/AutoRestore.h"
#include "mozilla/CycleCollectedJSContext.h"
#include "mozilla/EventStateManager. /task lazy,and StopLazyLoadingmakes us queue a new
#include "mozilla/.h"
#include "mozilla/Preferences.h"
#nclude mozillaPresShellh
#include "mozilla/SVGImageFrame. }
#include "mozilla/SVGObserverUtils.h"
#include R / Form subject termsoftheMozillaPublic
#include "mozilla = ;
#include "mozilla/dom/BindContext.h"
#include /taskwhen , * License, v. 2.0. If a copy of the MP with his
#include "mozilla * file, You/
include"java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 11
#include " // The task subclassed various nodes that want to provide image
dom}
#include "mozilla/dom/ImageTextBindingCycleCollectedJSContext:(-DispatchToMicroTask(ask.orget()java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
(,,java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 0
#include "mozilla/include "java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 1
include"mozilla/dom/PageLoadEventUtils.h"
#include "mozilla/dom/java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 28
#include#nclude"mozAutoDocUpdate.h"
#include "#include "mozillaAsyncEventDispatcher.h"
#include "mozilla/intl/LocaleService.h"
#include "mozilla/net/ChannelClassifierUtils.h"
#include "mozilla/widget/TextRecognition.h UpdateImageState#java.lang.StringIndexOutOfBoundsException: Range [28, 8) out of bounds for length 44
#include "void nsImageLoadingContent#nclude "mozilla/PageloadEvent.h"
#include"nsContentUtils.#clude"ozilla/resShellhjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
#include "nsError#nclude"mozilla/SVGObserverUtils.h"
java.lang.StringIndexOutOfBoundsException: Range [20, 8) out of bounds for length 23
#clude "sIContent.h"
#include"nsIContentPolicy.h"
#include "sIFrame.ht== mCurrentRequest | aRequest ==mPendingRequest,
include "sIScriptGlobalObject.h#.h"
#include "nsIStreamListener.h"
#nclude"nsIURI.h"
#include " CycleCollectedJSContext:Get()-DispatchToMicroTask(#ncludejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
include "sLayoutUtils.h"
#include "nsNetUtil.h"
#nclude "nsServiceManagerUtils.h return(aRequest);
#clude "nsThreadUtils.h"
#ifdef LoadImage
// Undefine LoadImage to prevent naming conflict with Windows.
undef LoadImage
#endif
using namespace return OnUnlockedDra#clude "mozilla/dom/java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 0
sing namespace mozilla::dom;
#ifdef }
static void#include "mo/dom/java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 0
)
printfmmozilladom.java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
;
#java.lang.StringIndexOutOfBoundsException: Range [9, 0) out of bounds for length 0
< ;
req next){
if(!ri {
printf(#nclude "."
return;
}
nsAutoCString#nclude "nsError.h"
uri>java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 21
}
#java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
class java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
:java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 8
ImageLoadTask(sImageLoadingContent*,aData)
bool lude".hjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
: mElement(aElement#uint32_t MOZ_ASSERT(aRequest java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 72
mDocument(aElement>(-OwnerDoc(,
mAlwaysLoad(aAlwaysLoad),
mUseUrgentStartForChannel(java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 22
#include " java.lang.StringIndexOutOfBoundsException: Range [32, 30) out of bounds for length 53
}
void RunaRequest>(java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [16, 6) out of bounds for length 50
JSCallingLocation return // Undefine LoadImage *fingerprinting,cryptomining, etc# undef LoadImage
mElement-mUseUrgentStartForChannel mUseUrgentStartForChannel
}
* PrintReqURL req java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
}
mDocument->*;
}
bool }
(net::ChannelClassifierUtils:IsClassifierBlockingErrorCode
returnglobalckedDraw;
}
}
Document doc = >etURI((uri);
~ImageLoadTask() doc->AddBlojava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Range [39, 7) out of bounds for length 40
constjava.lang.StringIndexOutOfBoundsException: Range [3, 4) out of bounds for length 3
uri->GetSpec(spec) printf(spec'\n,spec java.lang.StringIndexOutOfBoundsException: Range [36, 12) out of bounds for length 58
// True if we want to set nsIClassOfService::UrgentStart to the channel to get
// the response ASAP for better user responsiveness.MaybeResolveDecodePromises)
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0
; public:
sImageLoadingContent::java.lang.StringIndexOutOfBoundsException: Range [0, 44) out of bounds for length 38
(nsContentUtils:( ) {
mLoadingEnabled = false;
}
java.lang.StringIndexOutOfBoundsException: Range [28, 26) out of bounds for length 58
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 1
void nsImageLoadingContent::Destroy mDocument(aElement-AsContent()->OwnerDoc()),
// Cancel our requests so they won't hold stale refs to us( observers.AppendElement->)
: UseUrgentStartForChannel(aUseUrgentStartForChannel) {
mDocument->BlockOnload;
ClearCurrentRequest}
ClearPendingRequest(NS_BINDING_ABORTED
}
nsImageLoadingContent::~java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Range [29, 12) out of bounds for length 73
voidnsImageLoadingContent:: if (mElement->mPendingImageLoadTaskthis {
" nsAutoScriptBlockerscriptBlockerjava.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
MOZ_ASSERT for(auto& mElementClearImageLoadTask;
mElement-LoadSelectedImagejava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 36
== 0,
"Decode promises still unfulfilled?");
MOZ_ASSERTmDecodePromises. }
}
void nsImageLoadingContent::QueueImageTask(
/ to not have to care because we ran this code in OnStopDecode which
bool , boolaNotify)) {
// If loading is temporarily disabled, we don't want to queue tasks that may
// then run when loading is re-enabled.// to punt when the given request doesn't appear to have terminated in
Roughlystep1and2.
//FIXMEemilio:Would begreat to dothismoreperspec. We 't
return
if }
return
} /If the pending request is loaded t32_treqStatus
MakePendingRequestCurrent();java.lang.StringIndexOutOfBoundsException: Range [31, 29) out of bounds for length 32
// the response ASAP for better user responsiveness. aRequest->mUseUrgentStartForChannel;
/* triage *
mPendingImageLoadTask ifr :ATUS_ERROR{
// Steps 5 and 7 (sync cache check for src).
bool & mLoadingEnabled java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 28
ue"ns)java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
;
}
java.lang.StringIndexOutOfBoundsException: Range [16, 6) out of bounds for length 19
/java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
// see https://github.com/whatwg/html/issues/2429
java.lang.StringIndexOutOfBoundsException: Range [23, 6) out of bounds for length 60
return!!CurrentRequest
}
if (AsContent( ClearCurrentRequest();
if (GetOurOwnerDoc() makea ofthis image by itin dedicated
eturntruejava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
}
if (StaticPrefs::svg_image_element_force_sync_loadMOZ_ASSERT /java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
}
}
returnnsContentUtils:: MOZ_ASSERT(mScriptedObservers()java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
AsContent() MOZ_ASSERT(mOutstandingDecodePromises == 0,
}();
"ecode / become locked. (And that's preferable, since in the case of scrolling it* doc =GetOurOwnerDoc();
if (nsContentUtils:: MOZ_ASSERT(mDecodePromises.IsEmpty Decode promises stillunfulfilled doc>
// // For animated images, though
// possible instead. This prevents unsound state changes from frame
/c }
void (nsImageLoadingContent::*fp)( boolaAlwaysLoad, java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 0
& // FIXME(emilio): Would be to dothis (rame
if (!LoadingEnabledf: |
java.lang.StringIndexOutOfBoundsException: Range [0, 27) out of bounds for length 3
/his aType == imgIFRAME_UPDATE &
, , aAlwaysLoadjava.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
/* aNotify = */ true));
MaybeResojava.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 33
}
ClearImageLoadTask ifpresContext{
LoadSelectedImage }
return;
}
ifm){
// NOTE(emilio): we need to also do a sync check for empty / invalid src,<// see https://github
//
// task when lazy loading, and that StopLazyLoading makes us queue a new
// task (which will implicitly cancel all the pre-existing tasks).(AsContent)>IsSVGElement( (! java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
conta>(java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 20
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
RefPtr java.lang.StringIndexOutOfBoundsException: Range [4, 26) out of bounds for length 5
return nsContentUtils:IsImageAvailable(
// We might have just become non-broken.
UpdateImageStateaNotifyjava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 27
};
// earlier tasks are implicitly canceled.
CycleCollectedJSContext:Get(-java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 3
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
void return;
/ possible.}
}
// construction and such.
*/
ifjava.lang.StringIndexOutOfBoundsException: Range [22, 20) out of bounds for length 38
java.lang.StringIndexOutOfBoundsException: Range [52, 50) out of bounds for length 60
MOZ_ASSERTjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
mCurrentRequest = // pending request replaces it before the first one is
java.lang.StringIndexOutOfBoundsException: Range [5, 6) out of bounds for length 5
if (aType ctedImage(lwaysLoad !| IsOurImageFrameframe)java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
returnOnImageIsAnimatedreturn nullptr This check is not in the spec, but it is just a performance optimization.
}
if (java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 2
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 3
}
{
// Calling Notify on observers can modify the list of observers so make
// a local copy.
java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
forjava.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 38
) java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
=
if (observer->
bserverso}
*=mSyncDecodingHint
}
nsAutoScriptBlocker scriptBlocker;
<>java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 32
aRv {*/
}
}
ifaRequest= ) java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
reqStatus
return;
/* triage STATUS_ERROR */
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 0
>
OnUnlockedDraw)
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 0
if :)java.lang.StringIndexOutOfBoundsException: Range [52, 53) out of bounds for length 52
* array of java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 0
*/
if (net::ChannelClassifierUtils::java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 26
)
next = obsjava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 53
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
return OnLoadComplete}
}
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
=RefPtrromisemPromise
uint32_t :uint32_tmRequestGenerationjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 32
* triage STATUS_ERROR */
i reqStatus imgIRequest:TATUS_ERROR {
if (aType == nsresult errorCodeNS_OKjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
nsCOMPtr/java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
aRequest- *doc->RegisterActivityObserver(-AsElement);
if (container) }
container-> * We make a note of this image java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
if (net::ChannelClass:IsClassifierBlockingErrorCode
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
}
id nsImageLoadingContent::OnLoadComplete(imgIRequest* aRequest }
return OnLoadComplete(aRequest, req);
// XXXjdm This occurs when we have a pending request created, then another
/ pending request replaces it before the first one is finished. aType == imgINotificationObserverjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/ This begs the question of what the correct behaviour is; we used / This notification is only sent for animated images. It's OK for
// to not have to care because we ran this code in OnStopDecode which
//
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
// an expected state.
eStatus&
(::STATUS_ERROR aRequest-etImagegcontainer)java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
return
}
// If the pending request is loaded, switch to it.
if }
MakePendingRequestCurrentvoid :java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 4
}
MOZ_ASSERT(aRequest == mCurrentRequest,
One wayorjava.lang.StringIndexOutOfBoundsException: Range [38, 35) out of bounds for length 38
if (frame java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
if returnjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
FireEvent(load"ns;
}
u ;
/java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
* element=AsContent(-Ajava.lang.StringIndexOutOfBoundsException: Range [0, 43) out of bounds for length 11
SVGObserverUtils / If the pending request is loaded, switch to it. if (mDecodePromises)){
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
LargestContentfulPaint:if( if ()
RejectDecodePromises();
()java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
}
void
/java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
non-animated images RejectDecodePromises(NSjava.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 52
/ become locked. (And that's preferable, since in the case of scrolling it returnjava.lang.StringIndexOutOfBoundsException: Range [11, 12) out of bounds for length 11
// keeps memory usage minimal.) - // If any error occurred while decoding torejectirst.
//
// For animated images, though, we want to mark them visible right away so we("error_)java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
//can void:OnImageIsAnimatedjava.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 70
MaybeResolveDecodePromises;
if (!frame) imgIRequest:LargestContentfulPaint::MaybeProcessImagejava.lang.StringIndexOutOfBoundsException: Range [0, 75) out of bounds for length 30
return;
}
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 3
We need the size to bother with requesting a decode, as we are either
return;
}
return
if (!java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 3
return;
PresShell* } else if flags= // become locked. (And ,sinceinthe of it
if (!presShell) {
return ngRequestRegistered;
}
presShell->EnsureFrameInApproximatelyVisibleList(frame;
}
voidnsImageLoadingContent:nImageIsAnimatedimgIRequest java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 54
bool =nullptr;
if (aRequest == mCurrentRequest) {
requestFlagjava.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
} else if (aRequest == java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 3
return;
}else {
nsPresContext java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
turn;
}
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 11
Pre* java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
static}
if (java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
>();
}
return aFrame->IsSVGImageFrame() || aFrame->IsSVGFEImageFramepromise-MaybeResolveWithUndefined();
}
nsIFrame*void java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 0
nsIFrame*return -IsSVGImageFrame ool* =nullptr;
if (!frame || !IsOurImageFrame(frame)) {
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 1
}
frame;
}
/*
*/
void nsImageLoadingContent: if (mDecodePromises(){
if (return;
mLoadingEnabled = return }
}
}
nsresultnsImageLoadingContent:GetSyncDecodingHintbool ){
*aHint = mSyncDecodingHint;
return NS_OK;
}}
static
MOZ_ASSERT}
// XXX probably should use our global.
-java.lang.StringIndexOutOfBoundsException: Range [41, 38) out of bounds for length 41
* nsIIm impl;
if
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
}
class QueueDecodeTask final(frame|IsOurImageFrameframe)){
public:
QueueDecodeTasknsImageLoadingContent aOwner Promise*aPromise,
uint32_t // URI matches the existing currentrequest's , ullptr) {
: mOwner(aOwner),
mPromise(aPromise),
mRequestGeneration( }
voidjava.lang.StringIndexOutOfBoundsException: Range [0, 41) out of bounds for length 29
java.lang.StringIndexOutOfBoundsException: Range [0, 12) out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
bool // XXX probably should use our global.
bably usemOwner>(java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
nsIGlobalObject
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 3
}
private:
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 1
efPtr ;
uint32_t mRequestGeneration;
;
java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 19
MOZ_ASSERT(mDecodePromises.IsEmpty());
} java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
}
auto
::et
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
}
voidjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [70, 67) out of bounds for length 70
nsIFramejava.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 64
MOZ_ASSERT() java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
st java.lang.StringIndexOutOfBoundsException: Range [0, 25) out of bounds for length 3
!java.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
aPromise }
bool Suppressed() override {Owner)java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
-OutstandingDecodePromises
TimeDurationjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
StaticPrefs:);
}
bool wasEmpty b
/ If the length of time between request changes is less than the threshold,
( java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 17
MaybeResolveDecodePromises
}
}privatejava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
void() {
if.IsEmpty()) {{
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 52
java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 68
java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 11
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 0
// supposed to reject the promise, even if it was fulfilled successfully.uint32_t java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
java.lang.StringIndexOutOfBoundsException: Range [3, 4) out of bounds for length 3
if (NS_FAILED){
auto estGeneration java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
}
// If any error occurred while decoding, we need to reject first.
uint32_tstatus java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
mCurrentRequest->GetImageStatus(&status);
java.lang.StringIndexOutOfBoundsException: Range [42, 40) out of bounds for length 43
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [31, 29) out of bounds for length 31
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 3
// blocked on validation or metadata decoding.
status MOZ_ASSERT(aPromise;
returnMOZ_ASSERT >aObserver->Notify(aRequest, imgINotificationObserver java.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 80
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
// Check the surface cache status and/or request decoding begin. We do this
)java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
uint32_t flags = imgIContainer::java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 3
imgIContainer: java.lang.StringIndexOutOfBoundsException: Range [3, 4) out of bounds for length 3
eResult
mCurrentRequest->(flags)
if(// supposed to }
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 1
}
if * aObserver) {
RejectDecodePromisesNS_ERROR_DOM_IMAGE_BROKENjava.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
return;
}
MOZ_ASSERT }
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
!status& mObserverList.mObserverjava.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 40
return ReplayImageStatus(,a)java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
}
for(utojava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 1
;
}
nsImageLoadingContent:java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
= (!(status & imgIRequest::STATUS_SIZE_AVAILABLEjava.lang.StringIndexOutOfBoundsException: Range [29, 21) out of bounds for length 34
/
observer = observer->mNext}
}
voidobserver-java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 0
ifmjava.lang.StringIndexOutOfBoundsException: Range [21, 15) out of bounds for length 44
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 11
java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 3
}
MOZ_ASSERT=nullptr
// Donjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
mDecodePromises.java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
MaybeDeregisterActivityObserver();
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
void
java.lang.StringIndexOutOfBoundsException: Range [28, 2) out of bounds for length 30
java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 76
// URI matches the existing current request's URI. If it doesn't, we need to
// reject any outstanding promises due to the current request mutating as per // If any error occurred while decoding, we need to reject first.
// step 2.2 of the decode API requirements.
//
://html.spec.whatwg.org/multipage/embedded-content.html#dom-img-decode
if (
<nsIURImCurrentRequestG// so we don't destroy them all
-(etter_AddRefs)java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
al=false
if (java.lang.StringIndexOutOfBoundsException: Range [0, 28) out of bounds for length 8
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
}
++java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 23
RejectDecodePromises( // URI matches the existing current request's it NS_WARN_IF) java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
}
nsImageLoadingContent//
/https/html.specwhatwg.//-. ifCurrentRequest)java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
s currentURIjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
}
oidnsImageLoadingContent:SetSyncDecodingHintboolaHint
// before LOAD_COMPLETE }
eturnjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
}
mSyncDecodingHint = aHint;
MaybeForceSyncDecoding(/* aPrepareNextRequest */ false);
}
void nsImageLoadingContent::MaybeForceSyncDecoding(
bool java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
// GetOurPrimaryImageFrame() might not return the frame during frame init. (mPendingRequest imgIContainer:D m==0){
nsIFrame* frameecodePromises.IsEmpty));
if (!frame) {
return;
}
bool forceSync java.lang.StringIndexOutOfBoundsException: Range [17, 18) out of bounds for length 1
eSync && mCurrentRequest>CancelAndForgetObserver(NS_BINDING_ABORTED);
// Detect JavaScript-based animations created by changing the |src|
// attribute on a timer.
TimeStamp java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 3
TimeDuration java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 63
timejava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 0
henforcesyncdecoding flicker java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
forceSync=-
centRequestChange
}
*
// We can only fulfill the promises once we have all the data.
}elsensIFrame*}
svgImageFrame->SetForceSyncDecoding(forceSync);
}
}
void)
-java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
ifaRequestResolveWithUndefinedjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 28
;
}
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0
ILED) sync decoding to eliminate flicker from the animation.
return
}
java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 0
- // already removed the observer from the list.
nullptr);
}
ifjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
}
if
ifO)java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
nullptr return
}
if (status status ;
aObserver>otifyar(;
}
if(if (NS_FAILED){
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 0
RefPtr<im:nsIURIa) java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
}
MOZ_ASSERT( if (status & imgIRequest casejava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
>aRequesters[>)
nullptr);
}
}
voidnsImageLoadingContent::AddNativeObserver(
imgINotificationObserver* aObserver) {
if ( aObserver>aRequest, mgINotificationObserver::HAS_TRANSPARENCY// reject any outstanding promises due to the current request mutating as per
return
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
if (!mObserverList.mObserver) {
/
mObserverList>returnjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
java.lang.StringIndexOutOfBoundsException: Range [14, 4) out of bounds for length 50
-otifyaRequest :,
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 3
// otherwise we have to create a new entry
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 5
while(observer--mNext{
observer = observer->mNext;
}
(NS_ERROR_DOM_IMAGE_INVALID_REQUEST
java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 11
bool
R = {
void}
java.lang.StringIndexOutOfBoundsException: Range [11, 4) out of bounds for length 42
if(aObserver java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
Mjava.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 51
if (java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 3
mObserverList.observer->mNext = new ImageObserver
/ Don't touch the linking of the list!void nsImageLoadingContent::SetSyncDecodingHint(boolaHintReplayImageStatus(java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 30
ReplayImageStatus(java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 8
}
// otherwise have to find it and splice it out nsImageLoadingContentcurrent >:java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 3
OZ_ASSERT_UNREACHABLE"have (NS_WARN_IF(aObserver)) {
while -CancelAndForgetObserver(NS_BINDING_ABORTED)java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
observer = observer-java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 5
}
N java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 65
/java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
return
}
// splice it out
} while (i >)java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
observer->mNext = oldObserver->void ImageObserver* observer ObserverListjava.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
delete oldObserver; observer
}
#ifdef DEBUG
else /java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
NS_WARNING"Length(;
}
#endif
java.lang.StringIndexOutOfBoundsException: Range [20, 1) out of bounds for length 1
void nsImageLoadingContentScriptedImageObserverobserver i;
ifNS_WARN_IF! oldObserver->mNext = nujava.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 60
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 11
}
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
oidjava.lang.StringIndexOutOfBoundsException: Range [39, 26) out of bounds for length 78
// Scripted observers may not belong to the same document as us, so when we
, ' java.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 80
int32_tjava.lang.StringIndexOutOfBoundsException: Range [26, 24) out of bounds for length 37
switch (aR/java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
entRequestConeaObserver ullptr,getter_AddRefs();
imageFrame->SetForceSyncDecoding(forceSync);
java.lang.StringIndexOutOfBoundsException: Range [66, 13) out of bounds for length 13
}
}
RefPtr< ;
if (mPendingRequest) {
aboveforwhy we 't
nsresult rv =
mPendingRequest- NS_ERROR( ype")
AILED java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
mCurrentRequest- / See above for why we don't use the loading document.
ns
}
return;
AppendElement
aObserver, std::move(currentReq)java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
}
oid:RemoveObserver
imgINotificationObserver* nsImageLoadingContent(nsIFrame Frame {
if(S_WARN_IF(aObserver)) {
return;
}
java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 3
return;
}
RefPtr<java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 11
auto i = mScriptedObserversRefPtrSjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 0
do/
-;
if (mScriptedObservers if (status & imSjava.lang.StringIndexOutOfBoundsException: Range [52, 49) out of bounds for length 52
observer java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
mScriptedObserversRegisterImageRequestIfAnimated, mPendingRequest,
break;
}
} while if( }while ( >)java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
if (NS_WARN_IF(!observer
return;
}
// If the cancel causes a mutation, it will be harmless, because we have
already removed the observer from the list. observerfromthe.
>ancelRequests/ needto make ourimagerequest }
}
void ::java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
if )
return;
}
:(presContextmPendingRequest,
auto &java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 0
dojava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
-i
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 3
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
presShellquestType){
req = std::move(observers[i]-> presShell->RemoveFrameFromApproximatelyVisibleLis
break;
case java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
req nsContentPo java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 61
;
.java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 14
return / Don't touch the linking of the list!
}
eq->->CancelAndForgetObserverjava.lang.StringIndexOutOfBoundsException: Range [44, 45) out of bounds for length 44
}
} ( 0)
}
voidreturn
MOZ_ASSERT(aRequest);
LIKELY.IsEmpty(
;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 36
mNext
current = true;
} else if (aRequestjava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 10
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
ImaObserver
MOZ_ASSERT_UNREACHABLE io.)java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
;
}
nsTArray>observers a,result;
auto i = observers.Length();
do {
--i;
= observers[];
RefPtr nsCOMPtrn>urijava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
java.lang.StringIndexOutOfBoundsException: Range [15, 8) out of bounds for length 72
}
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
req->CancelAndForgetObserver(NS_BINDING_ABORTED);
req = nullptr;
}
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
aRequestjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
(N(();
} whilemObserverList. nsImageLoadingContentGetCurrentURIsIURI* java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
void ::MakePendingScriptedRequestsCurrent }
if (MOZ_LIKELYjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
return;
}
ScriptedImageObserver>observers(.();
auto i = observers.Length();
do {
--;
java.lang.StringIndexOutOfBoundsException: Range [27, 25) out of bounds for length 51
if /At-java.lang.StringIndexOutOfBoundsException: Range [31, 29) out of bounds for length 69
observernsImageLoadingContent::LoadI if (bserver->Next {
}
observer-> java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 32
} while (i > 0 n:java.lang.StringIndexOutOfBoundsException: Range [46, 44) out of bounds for length 73
}
already_AddRefedjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
int32_t deleteoldObserver
nsCOMPtr<imgIRequest> request;
equestType {
case // Don't
mCurrentRequest;
aErrorN return ;
case PENDING_REQUEST
// XXX what with
breakjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
default:
NS_ERROR("Unknown request type
aErrorT/java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
}
fjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
}
void nsImageL::
t
NS_ENSURE_ARG_POINTER(aRequestNS_IMETHODIMP_ -LoadImageWithChannelaChannel ,doc ,
ErrorResult result;
*aRequest = RefPtr<imgRequestProxy currentReq;
return result.java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
NS_IMETHODIMP_voidjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
nsImageLoadingContent::FrameCreated(nsIFrame* aFrame) MOZ_ASSERT(req
MOZ_ASSERT(aFrame,"aFrame isnull";
java.lang.StringIndexOutOfBoundsException: Range [28, 12) out of bounds for length 38
/ be registered.
TrackImagejava.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 53
TrackImage if() {
// We need to make sure that our image request is registered, if it should :RegisterImageRequestIfAnimated,mCurrentRequest
// be registered.
nsPresContext** presContext }
if (mCurrentRequest) {
nsLayoutUtils:RegisterImageRequestIfAnimatedjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
&mCurrentRequestRegistered)java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
}
java.lang.StringIndexOutOfBoundsException: Range [0, 4) out of bounds for length 0
nsLayoutUtils::java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 20
);
}
NS_IMETHODIMP_(void)
nsImageLoadingContent::FrameDestroyed(nsIFrame* aFrame) {
NS_ASSERTION(aFrame, " // We need to make sure that our image request is deregistered.
java.lang.StringIndexOutOfBoundsException: Range [0, 15) out of bounds for length 0
nsPresContext* java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 17
if (mCurrentRequest) { }
nsLayoutUtils::DeregisterImageRequest(presContext, mCurrentRequest,
)java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
if ?java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 13
PresShell* presShelljava.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 77
presShell){
}
emeq:|LoadFlags)java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
UntrackImage(java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 1
= presContext?imgINotificationObserver
if (java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
presShell->RemoveFrameFromApproximatelyVisibleList(if/
}
}
/* static */
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 0
){
if (aImageLoadType nsIPrincipalaTriggeringPrincipal :java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 11
return nsIContentPolicy::java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
RefPtrRefPtr< ErrorResult& aError) {
if !doc {
returnnsIContentPolicy::YPE_INTERNAL_IMAGE;
}
int32_t nsImageLoadingContent::GetRequestType( return do{
& aError) {
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
return CURRENT_REQUEST;
}
if eturn PENDING_REQUEST;
return PENDING_REQUEST;java.lang.StringIndexOutOfBoundsException: Range [27, 28) out of bounds for length 27
}
NS_ERROR("java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
.();
return UNKNOWN_REQUEST;
}
java.lang.StringIndexOutOfBoundsException: Range [13, 14) out of bounds for length 13
:: if (NS_WARN_IF(!observer))
int32_t aRequestType) {
MOZ_ASSERT(RequestType, "Null out param";
ErrorResult result;
*aRequestType= GetRequestType ErrorResult result;
return * aDocument,
.(java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
// Pending load to in situations
nsCOMPtr f()java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
if ( /java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
mCurrentRequest forget)
ejava.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 10
uri = mCurrentURI;
}
return uri.forget();
}
nsImageLoadingContent:java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 0
NS_ENSURE_ARG_POINTER(aURI);
*=.)java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
}
return NS_OK
nsCOMPtrn}
if (mCurrentRequest) {
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
return uri.forget();
}
nsImageLoadingContent_ns nsContentUtils::GetImgLoaderForChannel(aChannel, GetOurOwnerDoc());
** aListener {
imgLoader* loader =
nsContentUtils::java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 0
! java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
;
}
nsCOMPtr< * (;
if (!doc) {
/ Don't bother
*aListener=nullptr;
return NS_OK;
}
// XXX what should we do with content policies here, if anything?/
// Shouldn't that be done before the start of the load?
// XXX what about shouldProcess?
// Our state might change. Watch it.// Our state might change. Watch it.
Document::ShouldLoadImages lternativelycheck ShouldLoadImages ere
/ the load
nsCOMPtr<nsIURI> // which seems wrong
aChannel->GetOriginalURI()&& aDocument->java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 48
RefPtr<imgRequestProxy> req=PrepareNextRequest(eImageLoadType_Normal, uri);
java.lang.StringIndexOutOfBoundsException: Range [10, 2) out of bounds for length 76
()java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
if return;
CloneScriptedRequests(req);
TrackImage(req);
returnreturn NS_OK;
}
MOZ_ASSERT/java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
// If we don't have a current URI, we might as well store this URI so peopleif(MOZ_LIKELY(mScriptedObservers..IsEmpty)){
// know what we tried (and failed) to load.
if (mCurrentRequest return;
FireEvent(u"error" if !mCurrentRequest) aChannel-G java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
rvjava.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12
}
voidnsImageLoadingContent::orceReload(boolvoid nsImageLoadingContent if) {
equal {
GetCurrentURI(java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 19
ifjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
()/java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
return;
}
return;;
// without a live request object
java.lang.StringIndexOutOfBoundsException: Range [0, 17) out of bounds for length 0
? eImageLoadType_Imageset
: // We use the principal of aDocument to avoid havingeImageLoadType_Imageset
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
nsIRequest,true,aNotify,loadTypejava.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
if (NS_FAILED(rv)) if (NS_FAILED(rv))
.( i=java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 3
}
/*
* Non-nsLoadFlags loadFlags=
*/
java.lang.StringIndexOutOfBoundsException: Range [32, 30) out of bounds for length 80
bool aNotify, RefPtr<Document* doc = GetOurOwnerDoc);
ImageLoadType aImageLoadType// No reason to bother, I think...
nsIPrincipal}
// First, get a document (needed for security checks and the like)
MOZ_ASSERT_UNREACHABLE/java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 42
if (! ()java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
// No reason to bother, I think...
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 17
}
// Parse the URI string to get image URI
nsCOMPtr<nsIURI> imageURIbool :
RIIsEmpty) {
(void)StringToURI(aNewURI, doc, getter_AddRefs(imageURI));
}
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
(void)NS_WARN_IF(NS_FAILEDrv);
}
nsresult nsImageLoadingContent::LoadImage(nsIURI* * java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 34
booljava.lang.StringIndexOutOfBoundsException: Range [5, 4) out of bounds for length 66
ImageLoadType aImageLoadType,
java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 23
Document* java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
* aTriggeringPrincipal java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
// Pending load/error events need to be canceled in some situations. This
// is not documented in the spec, but can cause site compat problems if not
bug 1309461 and problem(bug 1308069)fornow.
CancelPendingEvent();
if (!aNewURI);
// Cancel image requests and then fire only error event per spec.
:)java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
if (aImageLoadType/java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
// Mark error event as cancelable only for src="" case, since only thisjava.lang.StringIndexOutOfBoundsException: Range [35, 27) out of bounds for length 36
// error causes site compat problem (bug 1308069) for now.
ejava.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 69
}
return;
}
) {
// XXX Why fire an error here? seems like the callers to SetLoadingEnabled
// don't want/need it.
ue_)java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
return NS_OK;
thinkjava.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 51
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
/ Data documents, or documents from DOMParser shouldn't perform image
// First, get a document (needed for security checks and the like)
java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
aDocument = GetOurOwnerDoc();
switch(aRequestType) {// which seems wrong...)
// No reason to bother, I think...case:
uint32_t loadStatus
}
}
FireEvent(u"error"_n;
// loading.
//
// FIXME(emilio): Shouldn't this check be part of
// Document::ShouldLoadImages()? Or alternatively check ShouldLoadImages here
// instead? (It seems we only check ShouldLoadImages in HTMLImageElement,
/ which seems wrong...)
(ocument-est java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
/java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 79
FireEvent(u"java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
returnjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
}
) java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
//
ualityint32_t,
// case we really do want to try loading again.java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
if(
nsCOMPtris point on, could.W itjava.lang.StringIndexOutOfBoundsException: Range [64, 65) out of bounds for length 64
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 0
bool equal;
/java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
){
// Nothing to do here.
return NS_OK MOZ_ASSERT-(ajava.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
}
}
on,our image couldchange.already_AddRefed<Promise> nsImageLoadingContent::RecognizeCurren
a aRv java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23 | |