summaryrefslogtreecommitdiffstats
path: root/dom/midi/tests/MIDITestUtils.js
diff options
context:
space:
mode:
Diffstat (limited to 'dom/midi/tests/MIDITestUtils.js')
-rw-r--r--dom/midi/tests/MIDITestUtils.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/midi/tests/MIDITestUtils.js b/dom/midi/tests/MIDITestUtils.js
index 779a961991..b6d6fa301c 100644
--- a/dom/midi/tests/MIDITestUtils.js
+++ b/dom/midi/tests/MIDITestUtils.js
@@ -1,7 +1,7 @@
var MIDITestUtils = {
permissionSetup: allow => {
let permPromiseRes;
- let permPromise = new Promise((res, rej) => {
+ let permPromise = new Promise(res => {
permPromiseRes = res;
});
SpecialPowers.pushPrefEnv(