Bug 1655866: Follow-up: Fix rebase botch.
authorKris Maglione <maglione.k@gmail.com>
Tue, 22 Sep 2020 01:30:10 +0000
changeset 549545 fa0bf905d4cb944368ddf8fbe38cca4107692fd4
parent 549544 fd47099e9a65332f10ed3644a5501a895bfa48d2
child 549546 497a26e7b0cab386e13dcdec1d85f2d666ebf076
push id37801
push usermalexandru@mozilla.com
push dateTue, 22 Sep 2020 03:47:42 +0000
treeherdermozilla-central@fa0bf905d4cb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1655866
milestone83.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1655866: Follow-up: Fix rebase botch. Differential Revision: https://phabricator.services.mozilla.com/D90945
docshell/test/browser/browser_onbeforeunload.js
--- a/docshell/test/browser/browser_onbeforeunload.js
+++ b/docshell/test/browser/browser_onbeforeunload.js
@@ -226,20 +226,16 @@ async function doTest(actions, startIdx,
 
   let promptCount = expected.expectPrompt ? 1 : 0;
   await withTabModalPromptCount(promptCount, async () => {
     await navigate(tab, frames).then(result => {
       ok(
         !awaitingPrompt,
         "Navigation should not complete while we're still expecting a prompt"
       );
-      ok(
-        !awaitingBeforeUnload,
-        "Navigation should not complete while we're still expecting beforeunload events"
-      );
 
       is(
         result.eventLoopSpun,
         expected.expectNestedEventLoop,
         "Should have nested event loop?"
       );
     });