зеркало из https://github.com/mozilla/gecko-dev.git
remove error output for non-error conditions
This commit is contained in:
Родитель
1b015c684b
Коммит
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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче