Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Commit 287565f

Browse files
committed
Backport Bug 1442312 - Stop using deprecated-sync-thenables in DebuggerServerConnection._queueResponse
1 parent aff403f commit 287565f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/test/mochitest/browser_dbg-chrome-create.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@
66
/**
77
* Tests that a chrome debugger can be created in a new process.
88
*/
9+
10+
// There are shutdown issues for which multiple rejections are left uncaught.
11+
// See bug 1018184 for resolving these issues.
12+
const { PromiseTestUtils } = scopedCuImport("resource://testing-common/PromiseTestUtils.jsm");
13+
PromiseTestUtils.whitelistRejectionsGlobally(/File closed/);
14+
PromiseTestUtils.whitelistRejectionsGlobally(/NS_ERROR_FAILURE/);
15+
916
requestLongerTimeout(5);
1017

1118
const { BrowserToolboxProcess } = ChromeUtils.import(

0 commit comments

Comments
 (0)