mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
Bug 1261842 - Update browser_394759_behavior.js to account for initial browser being remote. r=mikedeboer
MozReview-Commit-ID: H1A4bzARkyf --HG-- extra : rebase_source : 46ba0178e5856f5d0c567d1c71218c9db8394e56 extra : source : 970cbbb3a658336a8a70cfea01ba5a6afa3ae58b
This commit is contained in:
parent
4cfba25655
commit
a386a255c4
@ -26,10 +26,9 @@ function testWindows(windowsToOpen, expectedResults) {
|
||||
(winData.isPopup ? "all=no" : "all");
|
||||
let url = "http://example.com/?window=" + windowsToOpen.length;
|
||||
|
||||
let openWindowPromise = BrowserTestUtils.waitForNewWindow();
|
||||
let openWindowPromise = BrowserTestUtils.waitForNewWindow(true, url);
|
||||
openDialog(getBrowserURL(), "", features, url);
|
||||
let win = yield openWindowPromise;
|
||||
yield BrowserTestUtils.browserLoaded(win.gBrowser.selectedBrowser);
|
||||
yield BrowserTestUtils.closeWindow(win);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user