From a595c4dca1ac84d473c1bead0dce35dd9710c5c1 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Sun, 8 Apr 2018 22:42:28 -0700 Subject: [PATCH] Bug 1451615: Whitelist harmless rejection. r=me,test-only DONTBUILD MozReview-Commit-ID: Cq3ybb4rKgF --- .../components/extensions/test/xpcshell/test_ext_redirects.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/toolkit/components/extensions/test/xpcshell/test_ext_redirects.js b/toolkit/components/extensions/test/xpcshell/test_ext_redirects.js index 63104677deda..1a137173c814 100644 --- a/toolkit/components/extensions/test/xpcshell/test_ext_redirects.js +++ b/toolkit/components/extensions/test/xpcshell/test_ext_redirects.js @@ -5,6 +5,8 @@ ChromeUtils.defineModuleGetter(this, "TestUtils", "resource://testing-common/TestUtils.jsm"); Cu.importGlobalProperties(["XMLHttpRequest"]); +PromiseTestUtils.whitelistRejectionsGlobally(/Message manager disconnected/); + const server = createHttpServer(); const gServerUrl = `http://localhost:${server.identity.primaryPort}`;