Bug 1418739 - Part 1: Remove wrong parameter from BrowserTestUtils.waitForNewWindow call in dom/tests/browser/browser_noopener.js. r=smaug

This commit is contained in:
Tooru Fujisawa 2017-11-21 03:41:56 +09:00
parent 7f67b178a5
commit 40f3a621e4

View File

@ -44,7 +44,7 @@ async function doTests(private, container) {
let waitFor;
if (test.newWindow || alwaysNewWindow) {
waitFor = BrowserTestUtils.waitForNewWindow(window.gBrowser, TARGET_URL, true);
waitFor = BrowserTestUtils.waitForNewWindow(true, TARGET_URL);
// Confirm that this window has private browsing set if we're doing a private browsing test
} else {
waitFor = BrowserTestUtils.waitForNewTab(window.gBrowser, TARGET_URL, true);