Backed out changeset 73f6874cb3dd (bug 1613054) for causing bc failures in browser_abort_visibility.js

CLOSED TREE
This commit is contained in:
Mihai Alexandru Michis
2020-09-09 16:40:24 +03:00
parent e3de0e6d92
commit d33a3d0772
2 changed files with 0 additions and 20 deletions

View File

@@ -6454,7 +6454,6 @@ nsresult nsDocShell::CreateAboutBlankContentViewer(
bool hadTiming = mTiming;
bool toBeReset = MaybeInitTiming();
if (mContentViewer) {
MOZ_ASSERT(nsContentUtils::IsSafeToRunScript());
if (aCheckPermitUnload) {
// We've got a content viewer already. Make sure the user
// permits us to discard the current document and replace it