Backed out changeset 5b15696335bd (bug 1696473) for xpcshell failures on test_subframe_stop_after_parent_error.js . CLOSED TREE

This commit is contained in:
Narcis Beleuzu
2021-05-05 01:12:48 +03:00
parent 906c9995fa
commit 1859e05c02
5 changed files with 1 additions and 158 deletions

View File

@@ -6572,9 +6572,7 @@ nsresult nsDocShell::EndPageLoad(nsIWebProgress* aProgress,
isInitialDocument,
&skippedUnknownProtocolNavigation);
if (NS_FAILED(aStatus)) {
if (!mIsBeingDestroyed) {
DisplayLoadError(aStatus, url, nullptr, aChannel);
}
DisplayLoadError(aStatus, url, nullptr, aChannel);
} else if (skippedUnknownProtocolNavigation) {
nsTArray<nsString> params;
if (NS_FAILED(