summaryrefslogtreecommitdiffstats
path: root/devtools/client/performance-new/test
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/performance-new/test')
-rw-r--r--devtools/client/performance-new/test/browser/browser_webchannel-enable-menu-button-preset.js2
-rw-r--r--devtools/client/performance-new/test/browser/browser_webchannel-enable-menu-button.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/devtools/client/performance-new/test/browser/browser_webchannel-enable-menu-button-preset.js b/devtools/client/performance-new/test/browser/browser_webchannel-enable-menu-button-preset.js
index 4732f8f037..aefcd175c9 100644
--- a/devtools/client/performance-new/test/browser/browser_webchannel-enable-menu-button-preset.js
+++ b/devtools/client/performance-new/test/browser/browser_webchannel-enable-menu-button-preset.js
@@ -33,7 +33,7 @@ add_task(async function test() {
);
// Enable the profiler menu button with web channel.
- await withWebChannelTestDocument(async browser => {
+ await withWebChannelTestDocument(async _browser => {
await waitForTabTitle("WebChannel Page Ready");
await waitForProfilerMenuButton();
ok(true, "The profiler menu button was enabled by the WebChannel.");
diff --git a/devtools/client/performance-new/test/browser/browser_webchannel-enable-menu-button.js b/devtools/client/performance-new/test/browser/browser_webchannel-enable-menu-button.js
index a1864c475d..23d72225e5 100644
--- a/devtools/client/performance-new/test/browser/browser_webchannel-enable-menu-button.js
+++ b/devtools/client/performance-new/test/browser/browser_webchannel-enable-menu-button.js
@@ -8,7 +8,7 @@ add_task(async function test() {
info("Test the WebChannel mechanism works for turning on the menu button.");
await makeSureProfilerPopupIsDisabled();
- await withWebChannelTestDocument(async browser => {
+ await withWebChannelTestDocument(async () => {
await waitForTabTitle("WebChannel Page Ready");
await waitForProfilerMenuButton();
ok(true, "The profiler menu button was enabled by the WebChannel.");