diff --git a/uriloader/base/nsDocLoader.cpp b/uriloader/base/nsDocLoader.cpp index 695c3e36a73d..a64185de8143 100644 --- a/uriloader/base/nsDocLoader.cpp +++ b/uriloader/base/nsDocLoader.cpp @@ -1138,7 +1138,7 @@ NS_IMETHODIMP nsDocLoader::OnStatus(nsIRequest* aRequest, nsISupports* ctxt, // // Fire progress notifications out to any registered nsIWebProgressListeners // - if (aStatus) { + if (aStatus != NS_OK) { // Remember the current status for this request nsRequestInfo *info; info = GetRequestInfo(aRequest);