Bug 1397365: Part 11 - Remove unnecessary boolean as a second parameter to BrowserTestUtils.openNewBrowserWindow in a test. r?mconley
MozReview-Commit-ID: 26nLcldusEB
--- a/browser/base/content/test/general/browser_testOpenNewRemoteTabsFromNonRemoteBrowsers.js
+++ b/browser/base/content/test/general/browser_testOpenNewRemoteTabsFromNonRemoteBrowsers.js
@@ -77,21 +77,21 @@ add_task(async function test_new_tab() {
/**
* Test that if we open a new window from a link in a non-remote
* browser in an e10s window, that the new window is not an e10s
* window. Also tests with a private browsing window.
*/
add_task(async function test_new_window() {
let normalWindow = await BrowserTestUtils.openNewBrowserWindow({
remote: true
- }, true);
+ });
let privateWindow = await BrowserTestUtils.openNewBrowserWindow({
remote: true,
private: true,
- }, true);
+ });
// Fiddle with the prefs so that we open target="_blank" links
// in new windows instead of new tabs.
Services.prefs.setIntPref(OPEN_LOCATION_PREF,
Ci.nsIBrowserDOMWindow.OPEN_NEWWINDOW);
for (let testWindow of [normalWindow, privateWindow]) {
await promiseWaitForFocus(testWindow);