summaryrefslogtreecommitdiffstats
path: root/dom/midi/tests/browser_midi_permission_gated.js
diff options
context:
space:
mode:
Diffstat (limited to 'dom/midi/tests/browser_midi_permission_gated.js')
-rw-r--r--dom/midi/tests/browser_midi_permission_gated.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/midi/tests/browser_midi_permission_gated.js b/dom/midi/tests/browser_midi_permission_gated.js
index 2bdce51a2d..d82ea87d6e 100644
--- a/dom/midi/tests/browser_midi_permission_gated.js
+++ b/dom/midi/tests/browser_midi_permission_gated.js
@@ -779,7 +779,7 @@ async function waitForNotification(notificationId) {
let observerPromise;
if (notificationId !== "addon-webext-permissions") {
observerPromise = new Promise(resolve => {
- Services.obs.addObserver(function observer(aSubject, aTopic, aData) {
+ Services.obs.addObserver(function observer(aSubject, aTopic) {
// Ignore the progress notification unless that is the notification we want
if (
notificationId != PROGRESS_NOTIFICATION &&