Bug 622357 - HttpChannel::SetCacheTokenCachedCharset() fails if cache-entry is unavailable. r=bz

This commit is contained in:
Bjarne
2011-06-05 18:20:53 +02:00
parent 6aab2eb570
commit d862523874

View File

@@ -921,7 +921,7 @@ nsHTMLDocument::StartDocumentLoad(const char* aCommand,
"How did those end up different here? wyciwyg channels are "
"not nsICachingChannel");
rv = cachingChan->SetCacheTokenCachedCharset(charset);
NS_ASSERTION(NS_SUCCEEDED(rv),"cannot SetMetaDataElement");
NS_WARN_IF_FALSE(NS_SUCCEEDED(rv), "cannot SetMetaDataElement");
}
// Set the parser as the stream listener for the document loader...