зеркало из https://github.com/mozilla/gecko-dev.git
Fix for bug 7401. Made error message more descriptive.
This commit is contained in:
Родитель
c62e745099
Коммит
9130f4f6ec
|
@ -1529,7 +1529,7 @@ NS_METHOD nsDocumentBindInfo::OnStopBinding(nsIURL* aURL, nsresult aStatus,
|
||||||
aURL->GetSpec(&url);
|
aURL->GetSpec(&url);
|
||||||
else
|
else
|
||||||
url = "";
|
url = "";
|
||||||
cerr << "Load of URL '" << url << "' failed. Error code: "
|
cerr << "nsDocumentBindInfo::OnStopBinding: Load of URL '" << url << "' failed. Error code: "
|
||||||
<< NS_ERROR_GET_CODE(aStatus) << "\n";
|
<< NS_ERROR_GET_CODE(aStatus) << "\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1529,7 +1529,7 @@ NS_METHOD nsDocumentBindInfo::OnStopBinding(nsIURL* aURL, nsresult aStatus,
|
||||||
aURL->GetSpec(&url);
|
aURL->GetSpec(&url);
|
||||||
else
|
else
|
||||||
url = "";
|
url = "";
|
||||||
cerr << "Load of URL '" << url << "' failed. Error code: "
|
cerr << "nsDocumentBindInfo::OnStopBinding: Load of URL '" << url << "' failed. Error code: "
|
||||||
<< NS_ERROR_GET_CODE(aStatus) << "\n";
|
<< NS_ERROR_GET_CODE(aStatus) << "\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче