Loading devtools/client/webreplay/mochitest/browser_dbg_rr_logpoint-02.js +1 −1 Original line number Diff line number Diff line Loading @@ -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); Loading devtools/client/webreplay/mochitest/head.js +4 −0 Original line number Diff line number Diff line Loading @@ -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/); Loading
devtools/client/webreplay/mochitest/browser_dbg_rr_logpoint-02.js +1 −1 Original line number Diff line number Diff line Loading @@ -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); Loading
devtools/client/webreplay/mochitest/head.js +4 −0 Original line number Diff line number Diff line Loading @@ -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/);