summaryrefslogtreecommitdiffstats
path: root/browser/components/urlbar/tests/browser/browser_strip_on_share.js
diff options
context:
space:
mode:
Diffstat (limited to 'browser/components/urlbar/tests/browser/browser_strip_on_share.js')
-rw-r--r--browser/components/urlbar/tests/browser/browser_strip_on_share.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/browser/components/urlbar/tests/browser/browser_strip_on_share.js b/browser/components/urlbar/tests/browser/browser_strip_on_share.js
index 508106ccdc..9e045cee9c 100644
--- a/browser/components/urlbar/tests/browser/browser_strip_on_share.js
+++ b/browser/components/urlbar/tests/browser/browser_strip_on_share.js
@@ -112,7 +112,7 @@ async function testMenuItemDisabled(url, prefEnabled, selection) {
await SpecialPowers.pushPrefEnv({
set: [["privacy.query_stripping.strip_on_share.enabled", prefEnabled]],
});
- await BrowserTestUtils.withNewTab(url, async function (browser) {
+ await BrowserTestUtils.withNewTab(url, async function () {
gURLBar.focus();
if (selection) {
//select only part of the url
@@ -175,7 +175,7 @@ async function testMenuItemEnabled({
await listService.testSetList(testJson);
}
- await BrowserTestUtils.withNewTab(validUrl, async function (browser) {
+ await BrowserTestUtils.withNewTab(validUrl, async function () {
gURLBar.focus();
if (selectWholeUrl) {
gURLBar.select();