summaryrefslogtreecommitdiffstats
path: root/dom/promise/tests/test_resolve.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/promise/tests/test_resolve.html')
-rw-r--r--dom/promise/tests/test_resolve.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/promise/tests/test_resolve.html b/dom/promise/tests/test_resolve.html
index 7e4745b47a..04101c94d3 100644
--- a/dom/promise/tests/test_resolve.html
+++ b/dom/promise/tests/test_resolve.html
@@ -44,7 +44,7 @@ function runTest() {
var test = tests.pop();
- new Promise(function(resolve, reject) {
+ new Promise(function(resolve) {
resolve(test);
}).then(function(what) {
ok(test === what, "What is: " + what);