diff options
Diffstat (limited to 'toolkit/components/windowwatcher/test/browser_new_content_window_chromeflags.js')
-rw-r--r-- | toolkit/components/windowwatcher/test/browser_new_content_window_chromeflags.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/toolkit/components/windowwatcher/test/browser_new_content_window_chromeflags.js b/toolkit/components/windowwatcher/test/browser_new_content_window_chromeflags.js index 4eff3b46f0..d14175c088 100644 --- a/toolkit/components/windowwatcher/test/browser_new_content_window_chromeflags.js +++ b/toolkit/components/windowwatcher/test/browser_new_content_window_chromeflags.js @@ -134,7 +134,7 @@ function getContentChromeFlags(win) { * @param chromeFlags (int) * Some chromeFlags to check. */ -function assertContentFlags(chromeFlags, isPopup) { +function assertContentFlags(chromeFlags) { for (let feature in DISALLOWED) { let flag = DISALLOWED[feature].flag; Assert.ok(flag, "Expected flag to be a non-zeroish value"); @@ -183,7 +183,7 @@ add_task(async function test_disallowed_flags() { gBrowser, url: SCRIPT_PAGE, }, - async function (browser) { + async function () { let win = await newWinPromise; let parentChromeFlags = getParentChromeFlags(win); assertContentFlags(parentChromeFlags); @@ -230,7 +230,7 @@ add_task(async function test_disallowed_flags() { gBrowser, url: SCRIPT_PAGE_FOR_CHROME_ALL, }, - async function (browser) { + async function () { let win = await newWinPromise; let parentChromeFlags = getParentChromeFlags(win); Assert.notEqual( @@ -257,7 +257,7 @@ add_task(async function test_scrollbars_flag() { gBrowser, url: SCRIPT_PAGE, }, - async function (browser) { + async function () { let win = await newWinPromise; let parentChromeFlags = getParentChromeFlags(win); |