summaryrefslogtreecommitdiffstats
path: root/dom/tests/unit/test_PromiseDebugging.js
diff options
context:
space:
mode:
Diffstat (limited to 'dom/tests/unit/test_PromiseDebugging.js')
-rw-r--r--dom/tests/unit/test_PromiseDebugging.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/tests/unit/test_PromiseDebugging.js b/dom/tests/unit/test_PromiseDebugging.js
index 2262d60d61..6148b65c75 100644
--- a/dom/tests/unit/test_PromiseDebugging.js
+++ b/dom/tests/unit/test_PromiseDebugging.js
@@ -2,7 +2,7 @@ function run_test() {
// Hack around Promise.jsm being stuck on my global
Assert.equal(false, PromiseDebugging === undefined);
var res;
- var p = new Promise(function (resolve, reject) {
+ var p = new Promise(function (resolve) {
res = resolve;
});
var state = PromiseDebugging.getState(p);