Commit 695a2fc3 authored by Brian Hackett's avatar Brian Hackett
Browse files

Bug 1535362 - Fix web replay test breakage.

--HG--
extra : rebase_source : eb801b67858d1784ccfe0092638143c2d4069e6d
parent a26277d8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@ add_task(async function() {
    { logValue: `"Logpoint Number " + number`, condition: `number % 2 == 0` });
  await waitForMessageCount(hud, "Logpoint", 6);

  await dbg.actions.removeAllBreakpoints();
  await dbg.actions.removeAllBreakpoints(getContext(dbg));

  await toolbox.destroy();
  await gBrowser.removeTab(tab);
+4 −0
Original line number Diff line number Diff line
@@ -156,3 +156,7 @@ const { PromiseTestUtils } = scopedCuImport(
  "resource://testing-common/PromiseTestUtils.jsm"
);
PromiseTestUtils.whitelistRejectionsGlobally(/NS_ERROR_NOT_INITIALIZED/);

// Many web replay tests can resume execution before the debugger has finished
// all operations related to the pause.
PromiseTestUtils.whitelistRejectionsGlobally(/Current thread has paused or resumed/);