diff options
Diffstat (limited to 'docshell/test/browser/browser_csp_uir.js')
-rw-r--r-- | docshell/test/browser/browser_csp_uir.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docshell/test/browser/browser_csp_uir.js b/docshell/test/browser/browser_csp_uir.js index 2eb36d3d4d..7a7bb55994 100644 --- a/docshell/test/browser/browser_csp_uir.js +++ b/docshell/test/browser/browser_csp_uir.js @@ -40,7 +40,7 @@ add_task(async function test_csp_inheritance_regular_click() { }); add_task(async function test_csp_inheritance_ctrl_click() { - await BrowserTestUtils.withNewTab(TEST_URI, async function (browser) { + await BrowserTestUtils.withNewTab(TEST_URI, async function () { let loadPromise = BrowserTestUtils.waitForNewTab( gBrowser, RESULT_URI, @@ -61,7 +61,7 @@ add_task(async function test_csp_inheritance_ctrl_click() { add_task( async function test_csp_inheritance_right_click_open_link_in_new_tab() { - await BrowserTestUtils.withNewTab(TEST_URI, async function (browser) { + await BrowserTestUtils.withNewTab(TEST_URI, async function () { let loadPromise = BrowserTestUtils.waitForNewTab(gBrowser, RESULT_URI); // set the data href + simulate right-click open link in tab BrowserTestUtils.waitForEvent(document, "popupshown", false, event => { |