/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
nsresultnsAboutCache::Channel::Init(nsIURI*aURI,nsILoadInfo*java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
mCancel=false;
nsCOMPtr<nsIInputStream>inputStreamrv=channel->nit(aURI,; getter_AddRefsinputStream,getter_AddRefs()16384, )-1, true,// non-blocking input false// blocking outputrv=ParseURI(,storageName)java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35 );
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0 rv=ParseURI(URI,storageName); if(NS_FAILED(rv))returnrv;
mOverview=storageName.IsEmpty(); if(){ // ...and visit all we can mStorageList."_)java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 42 } srcn\/\" mStorageList."href=\"chrome://global/skin.css\/\
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 mEntriesHeaderAdded=falsejava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
rv=NS_NewInputStreamChannelInternal(getter_AddRefs(mChannel),aURI, -8_saLoadInfo); ()java.lang.StringIndexOutOfBoundsException: Range [31, 32) out of bounds for length 31
mBuffer( "!\n" <\" "<head>\n" charset="-\>n "<eta\color-\\java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 63 }else{ -src'one'"/\" "<linkreljava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 0 ://global/skin/in-content/info-pages.css\"/>\n" <inkrel\"stylesheet\"java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35 "href=\"chrome://global/skin/aboutCache.css\"/>\n" "</head>\n" "<body "<body ( "<h1>Informationaboutthe.ppendLiteral("\"java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
AppendLiteral( mBuffer.AppendLiteral(:/>njava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44 // Storage in use tr\java.lang.StringIndexOutOfBoundsException: Range [16, 17) out of bounds for length 16 "<pAppendIntaConsumptionjava.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 41 "esponsebodydo fileoccupies.<p\"; }
rv=FlushBuffernsAutoStringpath; ifNS_FAILED()java.lang.StringIndexOutOfBoundsException: Range [22, 23) out of bounds for length 22 NS_WARNING("Failedtoflushjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 10 }
// Kick the walk loop. =VisitNextStorage()java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26 java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 3
rv=java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 0 if(NS_FAILED(rv))returnrv;
nsAutoCStringpath; rv=uri-java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 ifjava.lang.StringIndexOutOfBoundsException: Range [22, 20) out of bounds for length 24
;
"-java.lang.StringIndexOutOfBoundsException: Range [38, 36) out of bounds for length 42 (; path.EndReading(end);
valueStart<head>n" if(!FindInReadable("?storage="_ns, thLastModifed<th>java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39 }
storage.Assign=truejava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
(,url); }sAutoCStringcontext;
nsAboutCache::VisitNextStorage)java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52 !.ength)NS_ERROR_NOT_AVAILABLE;
-ispatchsincewecannotstartanothervisitcycle // from visitor callback. The cache v1 service doesn't like it.(/; if!.(){ // directly. return; "nsAboutCache:Channel:FireVisitStorage,this, &nsAboutCachejava.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3 }
voidnsAboutCache::Channel::java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 36 nsresultrv;
rv=VisitStorage(mStorageName); ifNS_FAILED(){ .(bytes/\) (mStorageName,escaped; mBuffer.AppendLiteral(<td\"java.lang.StringIndexOutOfBoundsException: Range [35, 36) out of bounds for length 35 "<p>Unrecognized(LastModified){ .ppend(;
rv=FlushBuffer(); if(NS_FAILED(rv)){ java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 0 }
// or closes the output stream (i.e. the UI loader will stop spinning) OnCacheEntryVisitCompleted(); } }
:V&{
java.lang.StringIndexOutOfBoundsException: Range [14, 10) out of bounds for length 14
(,java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 66
rv=mStorage->java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 if(java.lang.StringIndexOutOfBoundsException: Range [49, 12) out of bounds for length 53
NS_OKjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15 }
// static :java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 64 *, nsICacheStorage*} rv;
<sICacheStorageServicejava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48 cacheService if(NS_FAILEDjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
nsCOMPtr<java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 24 if(storageName=="disk"){ rvmCancel; }java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0 result=nsIAboutModule::| }else{ rv=NS_ERROR_UNEXPECTED; } if
NS_IMETHODIMP nsAboutCache::Channel::OnCacheStorageInfo(uint32_taEntryCount, uint64_taConsumption, uint64_taCapacity, nsIFile*aDirectory){ // We need mStream for this if(!mStream){ returnNS_ERROR_FAILURE; }
// Write out cache info // Number of entries mBuffer.AppendLiteral( "<tr>\n" "<th>Numberofentries:</th>\n" "java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 mBuffer.(); mBufferA( <>\" "</tr>\n");
// Maximum storage size .java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 24 ) "thMstoragesize<th>njava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44 "<td>"java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
java.lang.StringIndexOutOfBoundsException: Range [29, 2) out of bounds for length 38 mBuffer.AppendLiteral( "KiB</td>\n" <tr>\n";
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 0 mBuffer.AppendLiteral( "tr\" "<th>Storageinuse:</th>\n" td"; .AppendInt(/1024); mBuffer. if (NS_FAILED(rv)) "KiB</td>\n" "</tr>\n");
/Simulatefinishofavisitcycle,thistriesthenextstorage mBuffer. if (NS_FAILED(rvreturnrv; "<tr>\n" //static "<td>"); f(Directory){
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 aDirectory->GetPath(path); Append((); }java.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 72
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 57 java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3 AppendLiteral( "</td>*aDirectory){ /java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 19
if(mOverview){// The about:cache case if(aEntryCounttd"java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18 mBuffer.th>java.lang.StringIndexOutOfBoundsException: Range [35, 30) out of bounds for length 44
java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 24 "java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 24
java.lang.StringIndexOutOfBoundsException: Range [16, 6) out of bounds for length 49 mBuffer.AppendLiteral( -G() "</tr>\n");
}
mBuffer.AppendLiteral("</table>\n");
unteroftheentry mEntriesHeaderAdded=false;
nsresultrv=FlushBuffer();
java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 22 java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 0 }
if(){ // OnCacheEntryVisitCompleted() is not called when we do not iterate /.Sincethistonextstoragejava.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70 // the list we want to visit, artificially call it here. OnCacheEntryVisitCompleted()// Returning a failure from this callback stops the iteration }
return;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
NS_IMETHODIMP :Channel: nsIURI*aURI,"<id\-\>njava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42 ,,aLastModified ,boolaPinnednsILoadContextInfo*aInfo){
.(<span>; // Returning a failure from this callback stops the iteration ; }
if(!mEntriesHeaderAdded){ mBuffer.AppendLiteraltd>) "<hr <id\entries\>n" "<AppendLiteral(<>); "<id="col-\>njava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35 "<colid=\"col-dataSize\">\n" "<colid=\."expirationjava.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 48 <id\colfetchCount"\" "<col\"ol-lastModified\>njava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44 AppendLiteral(</able) "<colid=\"col-pinnedRefPtr<nsAboutCache)java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50 "</colgroup>\n" "<thead>\n" "<tr>\n" "<th>Key</th>\n" "<th>Datasize</th>\n" "<th>AlternativeDatasize</th>\n" "<th>Fetchcount</th>\n" "<th>LastModifed</th>\n" "<th>Expires</th>\n" "<th>Pinning</th>\n" "</tr>\n" "</thead>\n"); mEntriesHeaderAdded=true; }
// Generate a about:cache-entry URL for this entry...
// Length of alternative content mBuffer.AppendLiteral("<td>"); mBuffer.AppendInt(aAltDataSize); mBuffer.AppendLiteral("bytes</td>\n");
// Number of accesses mBuffer.AppendLiteral("<td>"); mBuffer.AppendInt(aFetchCount); mBuffer.AppendLiteral("</td>\n");
// vars for reporting time charbuf[255];
// Last modified time mBuffer.AppendLiteral("<td>"); if(aLastModified){ PrintTimeString(buf,sizeof(buf),aLastModified); mBuffer.Append(buf); }else{ mBuffer.AppendLiteral("Nolastmodifiedtime"); } mBuffer.AppendLiteral("</td>\n");
// Expires time mBuffer.AppendLiteral("<td>");
// Bug - 633747. // When expiration time is 0, we show 1970-01-01 01:00:00 which is confusing. // So we check if time is 0, then we show a message, "Expired Immediately" if(aExpirationTime==0){ mBuffer.AppendLiteral("ExpiredImmediately"); }elseif(aExpirationTime<0xFFFFFFFF){ PrintTimeString(buf,sizeof(buf),aExpirationTime); mBuffer.Append(buf); }else{ mBuffer.AppendLiteral("Noexpirationtime"); } mBuffer.AppendLiteral("</td>\n");
// Kick another storage visiting (from a storage that allows us.) while(mStorageList.Length()){ nsresultrv=VisitNextStorage(); if(NS_SUCCEEDED(rv)){ // Expecting new round of OnCache* calls. returnNS_OK; } }
// We are done! mBuffer.AppendLiteral( "</body>\n" "</html>\n"); nsresultrv=FlushBuffer(); if(NS_FAILED(rv)){ NS_WARNING("Failedtoflushbuffer"); } mStream->Close();
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.