diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-15 03:34:50 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-15 03:34:50 +0000 |
commit | def92d1b8e9d373e2f6f27c366d578d97d8960c6 (patch) | |
tree | 2ef34b9ad8bb9a9220e05d60352558b15f513894 /browser/extensions/report-site-issue | |
parent | Adding debian version 125.0.3-1. (diff) | |
download | firefox-def92d1b8e9d373e2f6f27c366d578d97d8960c6.tar.xz firefox-def92d1b8e9d373e2f6f27c366d578d97d8960c6.zip |
Merging upstream version 126.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'browser/extensions/report-site-issue')
-rw-r--r-- | browser/extensions/report-site-issue/experimentalAPIs/helpMenu.js | 2 | ||||
-rw-r--r-- | browser/extensions/report-site-issue/test/browser/browser_report_site_issue.js | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/browser/extensions/report-site-issue/experimentalAPIs/helpMenu.js b/browser/extensions/report-site-issue/experimentalAPIs/helpMenu.js index 804f4b08d5..9b26a99e1c 100644 --- a/browser/extensions/report-site-issue/experimentalAPIs/helpMenu.js +++ b/browser/extensions/report-site-issue/experimentalAPIs/helpMenu.js @@ -19,7 +19,7 @@ this.helpMenu = class extends ExtensionAPI { context, name: "helpMenu", register: fire => { - let observer = (subject, topic, data) => { + let observer = subject => { let nativeTab = subject.wrappedJSObject; let tab = tabManager.convert(nativeTab); fire.async(tab); diff --git a/browser/extensions/report-site-issue/test/browser/browser_report_site_issue.js b/browser/extensions/report-site-issue/test/browser/browser_report_site_issue.js index ef01f94a26..3d0aa79747 100644 --- a/browser/extensions/report-site-issue/test/browser/browser_report_site_issue.js +++ b/browser/extensions/report-site-issue/test/browser/browser_report_site_issue.js @@ -244,7 +244,7 @@ add_task(async function test_framework_detection() { ); let tab2 = await clickToReportAndAwaitReportTabLoad(); - await SpecialPowers.spawn(tab2.linkedBrowser, [], async function (args) { + await SpecialPowers.spawn(tab2.linkedBrowser, [], async function () { let doc = content.document; let detailsParam = doc.getElementById("details").innerText; const details = JSON.parse(detailsParam); @@ -269,7 +269,7 @@ add_task(async function test_fastclick_detection() { ); let tab2 = await clickToReportAndAwaitReportTabLoad(); - await SpecialPowers.spawn(tab2.linkedBrowser, [], async function (args) { + await SpecialPowers.spawn(tab2.linkedBrowser, [], async function () { let doc = content.document; let detailsParam = doc.getElementById("details").innerText; const details = JSON.parse(detailsParam); @@ -292,7 +292,7 @@ add_task(async function test_framework_label() { ); let tab2 = await clickToReportAndAwaitReportTabLoad(); - await SpecialPowers.spawn(tab2.linkedBrowser, [], async function (args) { + await SpecialPowers.spawn(tab2.linkedBrowser, [], async function () { let doc = content.document; let labelParam = doc.getElementById("label").innerText; const label = JSON.parse(labelParam); |