mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 18:51:28 +00:00
remove error output for non-error conditions
This commit is contained in:
parent
1b015c684b
commit
e9991bb140
@ -792,7 +792,7 @@ CSSLoaderImpl::DidLoadStyle(nsIUnicharStreamLoader* aLoader,
|
||||
}
|
||||
}
|
||||
else { // load failed or document now gone, cleanup
|
||||
if (mDocument) { // still have doc, must have failed
|
||||
if (mDocument && NS_FAILED(aStatus)) { // still have doc, must have failed
|
||||
// Dump error message to console.
|
||||
#ifdef NECKO
|
||||
char *url;
|
||||
|
@ -792,7 +792,7 @@ CSSLoaderImpl::DidLoadStyle(nsIUnicharStreamLoader* aLoader,
|
||||
}
|
||||
}
|
||||
else { // load failed or document now gone, cleanup
|
||||
if (mDocument) { // still have doc, must have failed
|
||||
if (mDocument && NS_FAILED(aStatus)) { // still have doc, must have failed
|
||||
// Dump error message to console.
|
||||
#ifdef NECKO
|
||||
char *url;
|
||||
|
@ -792,7 +792,7 @@ CSSLoaderImpl::DidLoadStyle(nsIUnicharStreamLoader* aLoader,
|
||||
}
|
||||
}
|
||||
else { // load failed or document now gone, cleanup
|
||||
if (mDocument) { // still have doc, must have failed
|
||||
if (mDocument && NS_FAILED(aStatus)) { // still have doc, must have failed
|
||||
// Dump error message to console.
|
||||
#ifdef NECKO
|
||||
char *url;
|
||||
|
Loading…
Reference in New Issue
Block a user