mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 21:05:36 +00:00
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:
parent
7f67b178a5
commit
40f3a621e4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user