Loading browser/base/content/test/general/browser_aboutSupport_newtab_security_state.js +7 −0 Original line number Diff line number Diff line /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ // // Whitelisting this test. // As part of bug 1077403, the leaking uncaught rejection should be fixed. // thisTestLeaksUncaughtRejectionsAndShouldBeFixed("TypeError: window.location is null"); add_task(async function checkIdentityOfAboutSupport() { let tab = gBrowser.loadOneTab("about:support", { referrerURI: null, Loading browser/base/content/test/general/browser_scope.js +6 −0 Original line number Diff line number Diff line // // Whitelisting this test. // As part of bug 1077403, the leaking uncaught rejection should be fixed. // thisTestLeaksUncaughtRejectionsAndShouldBeFixed("TypeError: this.docShell is null"); function test() { ok(!!gBrowser, "gBrowser exists"); is(gBrowser, getBrowser(), "both ways of getting tabbrowser work"); Loading browser/base/content/test/general/browser_tabs_owner.js +12 −0 Original line number Diff line number Diff line // // Whitelisting this test. // As part of bug 1077403, the leaking uncaught rejection should be fixed. // thisTestLeaksUncaughtRejectionsAndShouldBeFixed("TypeError: gBrowser._finalizeTabSwitch is not a function"); // // Whitelisting this test. // As part of bug 1077403, the leaking uncaught rejection should be fixed. // thisTestLeaksUncaughtRejectionsAndShouldBeFixed("TypeError: gBrowser._finalizeTabSwitch is not a function"); function test() { BrowserTestUtils.addTab(gBrowser); BrowserTestUtils.addTab(gBrowser); Loading browser/base/content/test/siteIdentity/browser_no_mcb_for_loopback.js +0 −8 Original line number Diff line number Diff line Loading @@ -8,14 +8,6 @@ // unassigned port 8 because we don't want to actually load anything, we just // want to check that the URLs are not blocked. // The following rejections should not be left uncaught. This test has been // whitelisted until the issue is fixed. if (!gMultiProcessBrowser) { Cu.import("resource://testing-common/PromiseTestUtils.jsm", this); PromiseTestUtils.expectUncaughtRejection(/NetworkError/); PromiseTestUtils.expectUncaughtRejection(/NetworkError/); } const TEST_URL = getRootDirectory(gTestPath).replace("chrome://mochitests/content", "https://example.com") + "test_no_mcb_for_loopback.html"; const LOOPBACK_PNG_URL = getRootDirectory(gTestPath).replace("chrome://mochitests/content", "http://127.0.0.1:8888") + "moz.png"; Loading browser/base/content/test/social/browser_social_activation.js +7 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,13 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // // Whitelisting this test. // As part of bug 1077403, the leaking uncaught rejection should be fixed. // thisTestLeaksUncaughtRejectionsAndShouldBeFixed("TypeError: Assert is null"); var SocialService = Cu.import("resource:///modules/SocialService.jsm", {}).SocialService; var tabsToRemove = []; Loading Loading
browser/base/content/test/general/browser_aboutSupport_newtab_security_state.js +7 −0 Original line number Diff line number Diff line /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ // // Whitelisting this test. // As part of bug 1077403, the leaking uncaught rejection should be fixed. // thisTestLeaksUncaughtRejectionsAndShouldBeFixed("TypeError: window.location is null"); add_task(async function checkIdentityOfAboutSupport() { let tab = gBrowser.loadOneTab("about:support", { referrerURI: null, Loading
browser/base/content/test/general/browser_scope.js +6 −0 Original line number Diff line number Diff line // // Whitelisting this test. // As part of bug 1077403, the leaking uncaught rejection should be fixed. // thisTestLeaksUncaughtRejectionsAndShouldBeFixed("TypeError: this.docShell is null"); function test() { ok(!!gBrowser, "gBrowser exists"); is(gBrowser, getBrowser(), "both ways of getting tabbrowser work"); Loading
browser/base/content/test/general/browser_tabs_owner.js +12 −0 Original line number Diff line number Diff line // // Whitelisting this test. // As part of bug 1077403, the leaking uncaught rejection should be fixed. // thisTestLeaksUncaughtRejectionsAndShouldBeFixed("TypeError: gBrowser._finalizeTabSwitch is not a function"); // // Whitelisting this test. // As part of bug 1077403, the leaking uncaught rejection should be fixed. // thisTestLeaksUncaughtRejectionsAndShouldBeFixed("TypeError: gBrowser._finalizeTabSwitch is not a function"); function test() { BrowserTestUtils.addTab(gBrowser); BrowserTestUtils.addTab(gBrowser); Loading
browser/base/content/test/siteIdentity/browser_no_mcb_for_loopback.js +0 −8 Original line number Diff line number Diff line Loading @@ -8,14 +8,6 @@ // unassigned port 8 because we don't want to actually load anything, we just // want to check that the URLs are not blocked. // The following rejections should not be left uncaught. This test has been // whitelisted until the issue is fixed. if (!gMultiProcessBrowser) { Cu.import("resource://testing-common/PromiseTestUtils.jsm", this); PromiseTestUtils.expectUncaughtRejection(/NetworkError/); PromiseTestUtils.expectUncaughtRejection(/NetworkError/); } const TEST_URL = getRootDirectory(gTestPath).replace("chrome://mochitests/content", "https://example.com") + "test_no_mcb_for_loopback.html"; const LOOPBACK_PNG_URL = getRootDirectory(gTestPath).replace("chrome://mochitests/content", "http://127.0.0.1:8888") + "moz.png"; Loading
browser/base/content/test/social/browser_social_activation.js +7 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,13 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // // Whitelisting this test. // As part of bug 1077403, the leaking uncaught rejection should be fixed. // thisTestLeaksUncaughtRejectionsAndShouldBeFixed("TypeError: Assert is null"); var SocialService = Cu.import("resource:///modules/SocialService.jsm", {}).SocialService; var tabsToRemove = []; Loading