Bug 622357 - HttpChannel::SetCacheTokenCachedCharset() fails if cache-entry is unavailable. r=bz
This commit is contained in:
@@ -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...
|
||||
|
||||
Reference in New Issue
Block a user