From d8bbc7858622b6d9c278469aab701ca0b609cddf Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 15 May 2024 05:35:49 +0200 Subject: Merging upstream version 126.0. Signed-off-by: Daniel Baumann --- .../test/browser/browser_sma_open_protection_panel.js | 2 +- .../test/browser/browser_sma_pin_current_tab.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas') diff --git a/toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/test/browser/browser_sma_open_protection_panel.js b/toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/test/browser/browser_sma_open_protection_panel.js index c9522426a2..bddc456539 100644 --- a/toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/test/browser/browser_sma_open_protection_panel.js +++ b/toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/test/browser/browser_sma_open_protection_panel.js @@ -4,7 +4,7 @@ "use strict"; add_task(async function test_OPEN_PROTECTION_PANEL() { - await BrowserTestUtils.withNewTab(EXAMPLE_URL, async browser => { + await BrowserTestUtils.withNewTab(EXAMPLE_URL, async () => { const popupshown = BrowserTestUtils.waitForEvent( window, "popupshown", diff --git a/toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/test/browser/browser_sma_pin_current_tab.js b/toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/test/browser/browser_sma_pin_current_tab.js index 4425325526..2cb0e3000f 100644 --- a/toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/test/browser/browser_sma_pin_current_tab.js +++ b/toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/test/browser/browser_sma_pin_current_tab.js @@ -4,7 +4,7 @@ "use strict"; add_task(async function test_PIN_CURRENT_TAB() { - await BrowserTestUtils.withNewTab("about:blank", async browser => { + await BrowserTestUtils.withNewTab("about:blank", async () => { await SMATestUtils.executeAndValidateAction({ type: "PIN_CURRENT_TAB" }); ok(gBrowser.selectedTab.pinned, "should pin current tab"); -- cgit v1.2.3