Quelle nsImageLoadingContent.cpp
Sprache: C
|
|
Source java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds fo r length 70
java.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 70
*, //mozilla.org/MPL/2.0/. */
/*
*# retu;
* -GetURI(etter_AddRefs()java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
>( uri->GetSpec(specncludensServiceManagerUtilshjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
*/
# java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
#,
java.lang.StringIndexOutOfBoundsException: Range [23, 5) out of bounds for length 29
#include "imgLoader.h"
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 0
includemUseUrgentStartForChannel(aUseUrgentStartForChannel) {
# "/java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 43
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
o/#include "mozilla/dom/ResponsiveImageSelecto"
#include "mozilla/EventStateManager.h"#include (mElement> =thisjava.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
#include "mozilla/PageloadEvent.h"
# #include"java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 3
#.h"
#include "mozilla/ req->GetURI(getter_AddRefsinclude "mozillaet/.hjava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
nmozillaVGObserverUtilshjava.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
#nclude njava.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
#"dom/.h" java.lang.StringIndexOutOfBoundsException: Range [3, 4) out of bounds for length 3
i"zilla Gs)java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
# nclude"."
#include "mozilla/dom/Element.
#bool AlwaysLoad)const mAlwaysLoad }
#nclude"java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 8
java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 19
const java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 47
java.lang.StringIndexOutOfBoundsException: Range [20, 8) out of bounds for length 22
# domh
#include # "sThreadUtilswaysLoad)java.lang.StringIndexOutOfBoundsException: Range [33, 34) out of bounds for length 33
# >)java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
# const bool mUse// Undefine LoadImage to prevent naming
#nsImageL:
#endif
de "ozilla/TextRecognition"
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0
if (!nsContentUtils( java.lang.StringIndexOutOfBoundsException: Range [64, 23) out of bounds for length 66
#nclude "java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 3
#nclude".mageLoadTask)java.lang.StringIndexOutOfBoundsException: Range [37, 38) out of bounds for length 37
#includevoid::estroy)java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
i/our so ' refs to us
# java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 3
global>java.lang.StringIndexOutOfBoundsException: Range [71, 70) out of bounds for length 73
AlwaysLoad ()
nclude"java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 0
ramejava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
#nsImageLoadingContent
# ".printf"=s java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
#include"java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 0
#MOZ_ASSERTjava.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 45
}
// Undefine LoadImage to prevent naming conflict with Windows.
# mAlwaysLoadif (!nsContentUtils::GetImgLoad if (!nsContentUtils::GetImgLoaderForChannel(nullptr
using java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 3
using voidnsImageLoadingContent:if (mElement->mPendingImageLoadTask) {
>=
staticmElementjava.lang.StringIndexOutOfBoundsException: Range [37, 34) out of bounds for length 37
if java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
(java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 24
bool Suppjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
}}
nsCOMPtr java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 42
reqGgu);
if (!
// Steps 5 and 7 (sync cache check for src).
bool java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Range [3, 4) out of bounds for length 3
return false;
uri- java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
user.
"Observers ?";
##endif /* DEBUG_chb */
class // Butjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 0
public:
ImageLoadTask( "Decode promises still u
bool
: mElement
:(){
: // Cancel our requests so they
}
(java.lang.StringIndexOutOfBoundsException: Range [0, 57) out of bounds for length 5
void Run(AutoSlowOperation& ClearPendingRequest(NS_BINDING_A;
if }
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [39, 6) out of bounds for length 70
!& m Destroycalled)
MOZ_ASSERT(!mObserverList.mObserver && !mObserverList. still.
} Scriptedjava.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 53
// Roughly step 1 andjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
}
bool Suppressed
nsIGlobalObject*java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 43
aAlwaysLoad/java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
}
bool AlwaysLoad / run -java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 31
~( ;
const RefPtr<nsImageLoadingContent
constRefPtrd:>java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
nsImageLoadingContentjava.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
java.lang.StringIndexOutOfBoundsException: Range [24, 7) out of bounds for length 25
set:rgentStart channel java.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 80
// the response ASAP for better user responsiveness.
// a complete
const
const alwaysLoad mPendingImageLoadTaskAlwaysLoad(;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
mLoadingEnabled = falsejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
mMostRecentRequestChange =}
}
void if (!aSrcURI)
if(ForceAsync/taskwhich // see https://github.comhtml//2429
// NB: Don't ask to discard the images here.
dfalse
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 5
ClearPendingRequest(NS_BINDING_ABORTED);
}
if (GetOurOwnerDoc-IsBeingUsedAsImage()) {
MOZ_ASSERT RefPtr =newImageLoadTaskreturn (milio: todo empty ,
MOZ_ASSERT =;
"Observersreturn true;
MOZ_ASSERT(java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 7
s "java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
Z_ASSERT( = ,
"Decode promises java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 5
((.sEmpty) Decodejava.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 78
}
void java.lang.StringIndexOutOfBoundsException: Range [27, 25) out of bounds for length 69
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
bool void:C(){ return mPendingImageLoadT =nullptr
// If loading is temporarily disabled, we don't want to queue tasks that may
// then run when loading is re-enabled.
java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
E (sImageLoadingContent:*)(nsIURI* nsIPrincipal,bool bool,
// existing loads etc.
if (!LoadingEnabled() return adingContent:ueueImageTask;
return;
}
// Ensure that we don't overwrite a previous load request that requires
// a completeloadreturn nsContentUtilssImageAvailable
const AsContent(),aSrcURI aSrcTriggeringPrincipal GetCORSMode());
mPendingImageLoadTask->AlwaysLoad());
// Steps 5 and 7 (sync cache check for src).
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
if
return false;
}
if (!aSrcURI) {
LoadSelectedImage(alwaysLoad, mLazyLoading && aSrcURI);
// see https://github.com/whatwg/html/issues/2429
eturn !mCurrentRequest;
if (AsContent()-> // possible instead. This prevents unsound state changes from frame// This check is not in the spec, but it is just a performance optimization.// construction and such.
if (GetOurOwnerDoc()->IsBeingUsedAsImage()) {
return true;
}
if (taticPrefs::svg_image_element_force_sync_load()) {
return true;
}
}
return / task (which willimplicitly cancel all the
AsContent(, aSrcURI, aSrcTriggeringPrincipal, GetCORSMode());
}() NewRunnableMethod<nsIURI*, nsIPrincipal*, bool, bool, bool>(
if (shouldLoadSync) {
"ntent:QueueImageTask", this, fp, aSrcURI,
// If not safe to run script, we should do the sync load task as soon as
UpdateImageState(Notifyjava.lang.StringIndexOutOfBoundsException: Range [28, 14) out of bounds for length 64
onstruction andsuch.
void (sImageLoadingContent:p(nsIURI* sIPrincipal, bool bool,
&nsImageLoadingContent:QueueImageTask;
nsContentUtils:: /* aNotify = */ true))
NewRunnableMethod<nsIURI*, nsIPrincipal*, bool, bool, bool>(
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
aSrcTriggeringPrincipal }
/* aNotify = */ true));
* loading fu eg<>
}
ClearImageLoadTask();
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
return(,& ;
}
if (mLazyLoadingjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/ This check is not in the spec, but it is just a performance optimization.
/ The reasoning for why it is sound is that we early-return from the image for itis is that -java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/ when loading that usqueueanew
/ task (which will implicitly cancel all the pre-existing tasks).ageloadEventh
return;i"/.h"
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
efPtr task =new =/* This Source Code is the Public
adTask =taskjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
// We might have just become non-broken./ task lazy loading and was distributed his
can // task (which will implicitly cancel all the pre-existing tasks). * m return;
* byvariouscontentjava.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 65
java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 3
:Get)>(f);
}
void /
RefPtrtask newImageLoadTaskthis, alwaysLoad java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 0
}
/*
* #include // We might have just become non-broken."/java.lang.StringIndexOutOfBoundsException: Range [40, 38) out of bounds for length 41
*/
java.lang.StringIndexOutOfBoundsException: Range [26, 4) out of bounds for length 72
i m/java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
MOZ_ASSERTinclude#"hjava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
=mCurrentRequest|=
Snnclude "mozilla/dom/ContentList"java.lang.StringIndexOutOfBoundsException: Range [30, 27) out of bounds for length 30
ifaType= : java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 26
return;
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
if i"#
wnjava.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 47
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
{
/ (reqjava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
}
AutoTArray<nsCOMPtr#returnjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
for (java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 0
observer =next)java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
# sContentUtilsh
ifjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
observersvoid-etSpec#include "nsIChannel"
}
}
#include "nsIContentPolicy"
for (auto const public:
e )
nsIStreamListener"
}
if #nclude "nsIURI.h"
=mCurrentRequest||aRequest= mPendingRequest,
->GetImageStatus( mDocument(aElement->AsContent(-AsContent)>OwnerDoc)java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
/* triage STATUS_ERROR */
Forgotcancel previous request?");
nsresult errorCode# }
-GetImageErrorCode&java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 0
/* Handle image not loading error because source was a tracking URL (or
,java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 44
WevoidPrintReqURL( java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
rn;
*/
if:java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
*doc= >etURIgetter_AddRefsuri);
ckedNodeByClassifierjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
}
return OnLoadComplete(const RefPtr<dom::Document> mDocument;}
}
if ((aTypeconstbool uri->GetSpec(spec)
java.lang.StringIndexOutOfBoundsException: Range [36, 12) out of bounds for length 58
mCurrentRequest == // True if we want to set nsIClassOfService::UrgentStart to the channel to get
MaybeResolveDecodePromises(;
}
if (aType geObserver}java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
nsCOMPtr ImageLoadTask(nsImageLoadingContent* if!:GetImgLoaderForChannelnullptr,nullptr) java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
MostRecentRequestChange=TimeStamp:ProcessCreationjava.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 39
if (container) {
mAlwaysLoad((bserver-bserver;
}
// NB java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 62
java.lang.StringIndexOutOfBoundsException: Range [3, 4) out of bounds for length 3
}
java.lang.StringIndexOutOfBoundsException: Range [28, 26) out of bounds for length 65
java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 0
// pending request replaces it before the first one is finished.()java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
(java.lang.StringIndexOutOfBoundsException: Range [0, 28) out of bounds for length 5
/java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
}aAlwaysLoadjava.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 37
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
// .
() be do - doncancel
return
}
// thependingrequest ,const ;
if (aRequest
MakePendingRequestCurrentjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
}
java.lang.StringIndexOutOfBoundsException: Range [54, 2) out of bounds for length 54
// Fire the appropriate DOM event. /* triageSTATUS_ERROR
ImageStatus S)java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
FireEvent(u"loadconst bool shouldLoadSync=[& = false;
}lse {
FireEvent("rror_;
}
return;
if (!aSrcURI) {
MaybeResolveDecodePromises( * Handle image not loading error because source was a tracking URL (or
// But do it sync ,cryptomining )java.lang.StringIndexOutOfBoundsException: Range [44, 45) out of bounds for length 44
java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 73
UpdateImageState(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
voidjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 7
/java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
// non-animated images to wait until the next frame visibility update tojava.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 44
/java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 41
// keeps memory usage minimal.)(java.lang.StringIndexOutOfBoundsException: Range [25, 23) out of bounds for length 47
/java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
/Foranimatedimages, hough }
nsIURI* /onstruction }
nsIFrame* frame = return OnLoadComplete(aRequest reqStatus we don't want to queue tasks that may
f)java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
r
}
java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
/ NotificationObserver:)&java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
return;
/ Steps 5 and 7 (sync cache check for src). lveDecodePromises();
! java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 3
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
doit Request>((ontainer);
f !resShell){
return;
}
-nsureFrameInApproximatelyVisibleListjava.lang.StringIndexOutOfBoundsException: Range [0, 56) out of bounds for length 20
}
void }
java.lang.StringIndexOutOfBoundsException: Range [0, 6) out of bounds for length 5
if (aRequest
java.lang.StringIndexOutOfBoundsException: Range [0, 44) out of bounds for length 27
(;
requestFlagjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
MOZ_ASSERT_UNREACHABLE("Which }
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
}
nsLayoutUtilsjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
requestFlag)java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
}
*/
nsContentUtils:(
return f->sForImageLoadingContent;
}
nsIntRect*aData){
}
nsIFrame*MOZ_ASSERT(aRequest= |aRequest =.
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 0
if(rame |!()){
;
}
return frame;
}
/*
*java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 3
*/
:java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
if
java.lang.StringIndexOutOfBoundsException: Range [20, 4) out of bounds for length 38
}
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 1
oAppendElement
aHint }
returnjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
ady_AddRefedPromise java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 32
ErrorResult& ) *
/}
java.lang.StringIndexOutOfBoundsException: Range [5, 2) out of bounds for length 36
RefPtr MOZ_ASSERT reqStatus;
(Rv() java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
nullptrjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
classaRequest-G
public:
QueueDecodeTask(java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 28
*java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 0
: mOwner(aOwner),
mPromise (!(aImageStatus &imgIRequest:STATUS_ERROR) {
mRequestGeneration(aRequestGeneration) {}
void Run( AutoTArray<nsCOMPtrjava.lang.StringIndexOutOfBoundsException: Range [0, 48) out of bounds for length 9
for (mageObserver*observer =&mObserverList,*;observer;
}
Document* next = observer;
//XXProbably shouldusemOwner>()
nsIGlobalObject* global doc->observers.AppendElement-mObserver)java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
return java.lang.StringIndexOutOfBoundsException: Range [4, 23) out of bounds for length 5
}
private:
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0
RefPtr<>mPromisejava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
mRequestGeneration;
-GetImageStatus&);
iff(&Sjava.lang.StringIndexOutOfBoundsException: Range [47, 45) out of bounds for length 48
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [33, 7) out of bounds for length 60
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
auto task*
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
vojava.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 65
}
voidaTypejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
MOZ_ASSERT(MaybeResolveDecodePromises;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
// The request may have gotten updated since the decode call was issued.
imgIRequestSTATUS_ERRORaRequestGetter_AddRefs)java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
aPromise-
// We never got placed in mDecodePromises, so we must ensure we decrement
//
-- // For animated images though java.lang.StringIndexOutOfBoundsException: Range [0, 51) out of bounds for length 3
java.lang.StringIndexOutOfBoundsException: Range [38, 35) out of bounds for length 38
return;
}
bool wasEmpty = // to not have to care because we ran this code in OnStopDecode which
}
FireEvent("_)java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
es(
}
} imgIRequest::STATUS_ERROR imgIRequest::STATUS_LOAD_COMPLETE))) {
void nsImageLoadingContent::java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 3
.IsEmpty)) java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
return;
}
! akePendingRequestCurrentjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
NS_ERROR_DOM_IMAGE_INVALID_REQUEST
return;
}
One orUpdateImageStatetrue;
// supposed to reject the promise, even if it was fulfilled successfully.
This notification is only sent for animated images. It's OK for
_ERROR_DOM_IMAGE_INACTIVE_DOCUMENT){
return FireEventu"load //java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
}
,we needtorejectfjava.lang.StringIndexOutOfBoundsException: Range [67, 68) out of bounds for length 67
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
mCurrentRequestjava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 0
imgIRequest:ForElementTiming(java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 30
return
return;
}
/java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
// blocked on validation or metadata decoding.
if
;
}
// before LOAD_COMPLETE because we want to start as soon as possible.
int32_t thatpreferable thecase scrollingjava.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
requestFlag = &mPend
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 3
mCurrentRequest->RequestDecodeWithResult(java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 15
requestFlag = ;
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
if (requestFlag
RejectDecodePromises
return;
}
requestFlag rjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
// We can only fulfill the promises once we have all the data.
ifreturn
return;
}
autopromise return -IsForImageLoadingContentjava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
>java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 41
}
MOZ_ASSERT(mOutstandingDecodePromises >= nsIFrame aFrameIsSVGImageFrame *requestFlag=java.lang.StringIndexOutOfBoundsException: Range [30, 31) out of bounds for length 30
java.lang.StringIndexOutOfBoundsException: Range [0, 28) out of bounds for length 19
mDecodePromisesreturnframe
MaybeDeregisterActivityObserver
}
void java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 3
.IsEmpty) java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
return;
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
for (nsresult ::(*aHint java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
promise->java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 15
}
(java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
mOutstandingDecodePromisesreturn >IsForImageLoadingContent)java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
mDecodePromises aFrame-IsSVGImageFrame)| >IsSVGFEImageFrame)java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
MaybeDeregisterActivityObserver()java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
}
oid nsImageLoadingContent::java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 3
if! IsOurImageFrame
java.lang.StringIndexOutOfBoundsException: Range [0, 43) out of bounds for length 10
if (nsContentUtils::GetImgLoaderForChannel(nullptr
// reject any outstanding promises due to the current request mutating as per
// step 2.2 of the decode API requirements.
//
// https://html.spec.whatwg.org/multipage/embedded-content.html#dom-img-decode frame
/
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
mCurrentRequest-GetURI}
Document*docbably should use mOwner-etRelevantGlobal)
}
}
java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 3
}
java.lang.StringIndexOutOfBoundsException: Range [5, 1) out of bounds for length 29
if ( ;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
Ujava.lang.StringIndexOutOfBoundsException: Range [58, 48) out of bounds for length 75
} }
}
void
if (java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
eturn
public:
probably should use our global.
java.lang.StringIndexOutOfBoundsException: Range [24, 2) out of bounds for length 58
}
void (){}
booluint32_t aRequestGeneration {
// GetOurPrimaryImageFrame() might not return the frame during frame init.
* frame = aFrame ?return ;
if !frame) {
java.lang.StringIndexOutOfBoundsException: Range [0, 10) out of bounds for length 0
}
bool forceSync = if (aRequestGenerationpublic:
) {
uint32_t java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 48
// attribute on a timer.
TimeStamp now m;
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 0
::mage_infer_src_animation_threshold_ms()java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
//
// then force sync decoding to eliminate flicker from the animation.
forceSync*global =mOwner globalifwasEmpty{
m =now
}
if (nsImageFrame
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
if SVGImageFrame java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 58
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 11
}
}
staticvoidReplayImageStatus(*}
imgINotificationObserver aObserver {
if (!aRequest) {
returnjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
}
uint32_t status // supposed to reject the promise, even if it was fulfilled successfully.){
estjava.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
(rv) java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
f (aRequ !java.lang.StringIndexOutOfBoundsException: Range [48, 46) out of bounds for length 49
}
: imgIRequest::STATUS_NONEjava.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
aObserver->Notify( MaybeDeregisterActivityObserver();
nullptr) returnpromisemgIRequest::STATUS_ERROR {
}
if (status & java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 0
aObserver->Notify(void nsImageLoadingContent::DecodeAsync(RefPtrPromise>& return;
nullptr);
}
if (MaybeResolveDecodePromises();
aObserver->Notify(aRequest }
nullptr);
}
if( &java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
::IS_ANIMATEDnullptr)
}
if (status }
aObserver // The request may have gotten updated since the decode call was issued.
java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
}
if ( -mOutstandingDecodePromises;
}
java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 0
}
}
oid
imgINotificationObserver
();
return;
}
if
// Don't touch the linking of the list!
mObserverListmObserver = aObserver;
CurrentRequest ;
ReplayImageStatusm MaybeResolveDecodePromisesjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
return;
}
ImageObserver* observer = &mObserverList;
while mOutstandingDecodePromises - (!(status & imgIRequest::STATUS_SIZE_AVAILABLEjava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 34
;
}
>java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 0
( imgIContainer::Deco =
ReplayImageStatus(mPendingRequest, mCurrentRequest->RequestDecodeW( return;
}
void}
i* ){
if (NS_WARN_IF(! returnjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
return;
}
if java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
=;
'return;
return;
}
/java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
}
while(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
);
}
// At this point, we are pointing to the list element whose mNext is
java.lang.StringIndexOutOfBoundsException: Range [0, 4) out of bounds for length 3
java.lang.StringIndexOutOfBoundsException: Range [28, 26) out of bounds for length 68
// https
observer->java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 3
nullptr
delete oldObserver GetURI(etter_AddRefs(;
}
#ifdef bool equ ;
else()
mDecodePromises.eturn;
}
#endif}
}
void If the current request is about to change, we need to verify if the new
ifaObserver){
return;
}
RefPtr<imgRequestProxy>voidjava.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 4
m java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
n>currentURI
/create imgRequestProxy,we shouldn
// to dispatch notifications from the correct scheduler group.
thejava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 3
v nsImageLoadingContent:( ){
if (if( java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 5
return;
}
}
RefPtr java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
if(mPendingRequest) imgIContainer::if( = {
java.lang.StringIndexOutOfBoundsException: Range [16, 4) out of bounds for length 59
nsresult rv =
mPendingRequest->
ifjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [23, 21) out of bounds for length 67
return;
}
}
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0
)));
}
void // If the length of between
mgINotificationObserver* // eliminateflickerfromthe.
if ( -
mMostRecentRequestChange =now;
}
if(java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 56
return;
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
java.lang.StringIndexOutOfBoundsException: Range [0, 8) out of bounds for length 1
(;
do }
-i;
if(i-= {
Detect JavaScript-based animations created by changing the |src| (! promise->Maybe()
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
}
} ( ;
if (java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 0
if (NS_FA(rv) mDecodePromises sync decoding to eliminate flicker from the animation.
}
if (status & imgIRequest::STATUS_SIZE_AVAILABLE) {
// already removed the observer from the list.
( ;
}
java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 71
nullptrjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
() java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
-> aObserver->Notify
autoif(java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 22
do {
--i;
java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 72
switch java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
casejava.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 27
]java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 0
break;
case java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
req = java.lang.StringIndexOutOfBoundsException: Range [30, 28) out of bounds for length 42
// reject any outstanding promises due to the current request mutating as per
default f
java.lang.StringIndexOutOfBoundsException: Range [18, 16) out of bounds for length 41
return;
}
if ( ReplayImag &java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 51
reqjava.lang.StringIndexOutOfBoundsException: Range [30, 0) out of bounds for length 0
}
;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
}
MOZ_ASSERT( observer>) java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
if (MOZ_LIKELY(observer->mNext = newRejectDecodePromises);
return;;
}
f(=java.lang.StringIndexOutOfBoundsException: Range [35, 33) out of bounds for length 36
imgINotificationObserver*
} (NS_WARN_IF!)){
ImageObserverobserver =mObserverList;
} whileurn;
OZ_ASSERT_UNREACHABLE( }
observer =observer->java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 0
}
nsTArray</java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
s.Length);
do {
--i;
}
returnjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
?observer->CurrentRequest java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 3
if(S_WARN_IFreq) {
(Should java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 31
req-;
req = nullptr;
}
bool aPrepare,* /* = nullptr */) {
aRequest-Clone(- / At this point, we are pointing to the list element whose mNext is
( java.lang.StringIndexOutOfBoundsException: Range [0, 4) out of bounds for length 3
0;
}
nsImageLoadingContent &ObserverList;
if(MOZ_LIKELY( while (observer->mNext && observe>java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 70
return;
}}
nsTArray< if (!forceSync & aPrepareNextRequest
java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
do {
-i;;
*=]
if ((aObserverjava.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 60
observer return;
}
observer-> NS_WARNING("Asked to remove nonexistent java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 3
} while java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
v ::(imgINotificationObserver* aObserver) {
already_AddRefed<imgIRequest> nsImageLoadingContent forceSync = (now - // create the imgRequestProxywe shouldntuse any. This allows the request
aRequestType currentReq;
nsCOMPtr<imgIRequest> request;
/ java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
case-ln )java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
request = mCurrentRequest // to dispatch notifications from the correct scheduler group.
break;
case PENDING_REQUEST:
request ;
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
// See donjava.lang.StringIndexOutOfBoundsException: Range [0, 33) out of bounds for length 0
NS_ERROR(Unknownrequestt";
()java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
}
return request.forget(); java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 11
}
NS_IMETHODIMPmCurrentRequest> }
sImageLoadingContent:(int32_taRequestTypejava.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
}
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
ErrorResult result;
nsresultrv=Request>(status;
return resultjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
}
vnsImageLoadingContent:(
nsImageLoadingContent::FrameCreatednsIFrame*a) java.lang.StringIndexOutOfBoundsException: Range [55, 56) out of bounds for length 55
MOZ_ASSERT(java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 11
MOZ_ASSERT(IsOurImageFrame if(status }
java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 11
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 0
TrackImage(java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
// We need to make sure that our image request is registered, if it should
// be registered.
}
if (mCurrentRequest) {
sLayoutUtils:gIRequest:TATUS_FRAME_COMPLETE {
mCurrentRequestRegistered);
}
if () {
::(presContextjava.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
&mPendingRequestRegistered);
}
}
java.lang.StringIndexOutOfBoundsException: Range [19, 14) out of bounds for length 20
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 3
aObserver>(/list
/We sure java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 65
nsImageLoadingContentjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
nsresult aReason
&mCurrentRequestRegisterednsresult aReason) java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
}
ifjava.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
tUtilseregisterImageRequest,
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
-;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
(resShellquestType java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 27
}
}
/* static */
licyTypensImageLoadingContent: break
dType {
if breakjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
return if (!mObserverList default:
}
MOZ_ASSERT mObserverList.mObserver = java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 15
"Unknown ImageLoadType type java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
eqaReason;
}
int32_t java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 18
whilei>0)
( java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
if (MOZ_(mScriptedObserversIsEmpty(
}
if (aRequest == mPendingRequest) {
return PENDING_REQUEST;
java.lang.StringIndexOutOfBoundsException: Range [3, 4) out of bounds for length 3
aRequest -;
OR_UNEXPECTED
return UNKNOWN_REQUEST MOZ_ASSERT_UNREACHABLE
}
NS_IMETHODIMP
nsImageLoadingContent:GetRequestType}elseageStatus(,aObserver)
auto=bservers)java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
returnjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
ErrorResult result;
aRequestType=etRequestType(Request result)java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
return result.StealNSResult();
}
already_AddRefed<nsIURI> ScriptedImageObserver* observeri
<sIURI uri;
if(mCurrentRequest){
currentcurrent ? observer- =nullptr;
} else {
java.lang.StringIndexOutOfBoundsException: Range [7, 4) out of bounds for length 22
}
return
}
NS_IMETHODIMPvoid nsImageLoadingContent:MakePendingScriptedRequestsCurrentvoid)S_WARN_IFNS_FAILEDrv)
:(*aURIjava.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
NS_ENSURE_ARG_POINTER(aURI);
*aURI = GetCurrentURI
return NS_OK;
}
already_AddRefed<nsIURI // otherwise have to find it and splice it out
sCOMPtr<sIURI> mScriptedObserversClone)java.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 80
i
java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 3
}
return Atobserver>CurrentRequest = :moveobserver>mPendingRequest
}
NS_IMETHODIMP
java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 24
java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 32
imgLoader ImageObserver* CURRENT_REQUESTjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
tUtilsGetImgLoaderForChannela,GetOurOwnerDoc observerm=-mNext
if (!loader) {
return java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 25
}
nsCOMPtrbreak;
!doc java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
bother
*aListener request =
returnNS_OK
}
should wedojava.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 0
// Shouldn't that be done before the start of the load?
// XXX what about shouldProcess?
/ Our state might change. Watch it.
return request.orget}
// Do the load.
nsCOMPtr<nsIURI> uri;
aChannel->GetOriginalURI(getter_AddRefs(uri return .nsImageLoadingContent::GetReques
RefPtrimgRequestProxy> req =PrepareNextRequest
=loader>(,this ,aListenerjava.lang.StringIndexOutOfBoundsException: Range [76, 77) out of bounds for length 76
if (NS_SUCCEEDED(rv) (aFramejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
.java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
TrackImagereq);
return java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
}
!java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
// If we don't have a current URI, we might as well store this URI so people// to MOZ_ASSERT(IsOurImageFrame)
// know what we tried (and failed) to load.nsresultnsPresContext >java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 53
presContextjava.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
nsLayou:;
return}
}
void java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
&mPendingRequestRegistered
GetCurrentURIgetter_AddRefs(currentURIjava.lang.StringIndexOutOfBoundsException: Range [3, 4) out of bounds for length 3
ifjava.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 20
aErrorThrow
return;
}
// We keep this flag around along with the old URI even for failed requestsnsresult java.lang.StringIndexOutOfBoundsException: Range [69, 68) out of bounds for length 70
// without a live request object
ImageLoadType loadType = (java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 3
java.lang.StringIndexOutOfBoundsException: Range [0, 12) out of bounds for length 0
PresShell java.lang.StringIndexOutOfBoundsException: Range [38, 36) out of bounds for length 77
nsresult rv = LoadImage(currentURI, true, aNotify, java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
uest: |(;
if(NS_FAILED(rv){
aError.Throw(rvjava.lang.StringIndexOutOfBoundsException: Range [19, 20) out of bounds for length 3
}
/*
*ImageLoadType) {
*/
returnjava.lang.StringIndexOutOfBoundsException: Range [1, 2) out of bounds for length 1
nsContentPolicyType
ImageLoadType ImageLoadType aImageLoadType {
* :java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 11
// First, get a document (needed for security checks and the like)
RefPtrjava.lang.StringIndexOutOfBoundsException: Range [30, 26) out of bounds for length 68
() {
Tjava.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 47
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
}
// Parse the URI string to get image URI
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
fjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
(void)StringToURI
}
return LoadImageimageURI returnThrowNS_ERROR_UNEXPECTED
}
}
nsresult nsImageLoadingContentjava.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 30
a Null)
}
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
Documentjava.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 1
/ some java.lang.StringIndexOutOfBoundsException: Range [71, 69) out of bounds for length 75
// is not documented in the spec, but can cause site compat problems if not
/ done. See bug 1309461 and https://github.com/whatwg/html/issues/1872.
CancelPendingEvent() java.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
{
() return;
}
if (java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
// Mark error event as cancelable only for src="" case, since only this
// error causes site compat problem (bug 1308069) for now.
(u
}
;
}
if (!mLoadingEnabled}
// XXX Why fire an error here? seems like the callers to SetLoadingEnabled
// don't want/need it.
" java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 73
returnNS_OK;
}
NS_ASSERTION(!aDocument req =std: if(oader{
"Bogus document passed in");
f !aDocument) {
aDocument =GetOurOwnerDoc)java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
if (!aDocument) =;
// No reason to bother, I think...
returnjava.lang.StringIndexOutOfBoundsException: Range [12, 0) out of bounds for length 0
}
}
// Data documents, or documents from DOMParser shouldn't perform image
// loading.
//
// FIXME(emilio): Shouldn't this check be part of
/( checkh
//Do.
// which seems wrong...)
sData &!>java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 48
> java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 80
java.lang.StringIndexOutOfBoundsException: Range [42, 23) out of bounds for length 79
FireEvent(u"error"_ns);
java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 17
}
// URI equality check.
//
SERT(!req, "Shouldn't have non-null request here");
// case we really do want to try loading again.// If we don't have a current URI, we might as well store this URI so people
if (!aForce && mCurrentRequest) {
nsCOMPtr<nsIURI> currentURI
GetCurrentURI(getter_AddRefs(currentURIreturn;
bool equal;
Fvoid (aRequest == mCurrentRequest
){
// Nothing to do here.
return NS_OK;
}
}
/ From this point on, our image state could change. Watch it.
auto updateStateOnExit = java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
// Sanity check.
//
?
// time. It should always be the same as the principal of this node.java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
:java.lang.StringIndexOutOfBoundsException: Range [55, 53) out of bounds for length 69
aErrorThrowrv) auto = java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 3
"java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 6
=
aLoadFlags | nsContentUtils::java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 3
)
nsCOMPtr<java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
bool result =nsContentUtilsjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
element, aTriggeringPrincipal
// If result is true, which means this node has specified
nsLoadFlags aLoadFlags,
// type.
nsContentPolicyTypepolicyTypejava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
result ? nsIContentPolicy: voidnsImageLoadingContent::MakePendingScriptedRequestsCurrent( // is not documented in the spec, but can cause site compat problems if not
if(MOZ_LIKELY(mScriptedObservers.IsEmpty())) {
autoreferrerInfo =MakeRefPtr CancelPendingEvent);
auto fetchPriority = GetFetchPriorityForImage();
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
,element
loadFlagsjava.lang.StringIndexOutOfBoundsException: Range [15, 2) out of bounds for length 74
mUseUrgentStartForChannel, /* aLinkPreload */ false,
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
returnNS_OKjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
aDocument->SetPageloadEventFeature(
erformance:d{
}
/ Reset the flag to avoid loading from XPCOM or somewhere again else without
/initiated userinteraction
mUseUrgentStartForChannel ;
edocumentto forget about the image preload, if any, for
// this URI, now that we might have another imgRequestProxy for it. NS_OK;
// That way if we get canceled later the image load won't continue.
ocument>if (!mLoadingEnabled
if(aDocument) {
// Based on performance testing unsuppressing painting soon after the page
// has gotten an image may improve visual metrics.
java.lang.StringIndexOutOfBoundsException: Range [21, 4) out of bounds for length 52
resShell) {
shell-> return NS_OK
}
}
CloneScriptedRequests(req);
TrackImage(req);
if (!aDocument) {
// In that situation we have to synchronously switch that request to beingjava.lang.StringIndexOutOfBoundsException: Range [32, 30) out of bounds for length 33
{
;
if (request = mCurrentRequestjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
casejava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 4
){
MakePendingRequestCurrent();
}
aError.Throw(NS_ERROR_UNEXPECTED);
"How could ClearPendingRequest(java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 0
ifn*f=do_QueryFramereturn NS_OKjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
f-java.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 0
}
}
}
} else {
java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 35
// If we don't have a current URI, we might as well store this URI so people
etried(nd )toloadjava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47 | |