summaryrefslogtreecommitdiffstats
path: root/dom/media/webvtt/test/mochitest/manifest.js
diff options
context:
space:
mode:
Diffstat (limited to 'dom/media/webvtt/test/mochitest/manifest.js')
-rw-r--r--dom/media/webvtt/test/mochitest/manifest.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/media/webvtt/test/mochitest/manifest.js b/dom/media/webvtt/test/mochitest/manifest.js
index 91c481feb9..dc72b55ffa 100644
--- a/dom/media/webvtt/test/mochitest/manifest.js
+++ b/dom/media/webvtt/test/mochitest/manifest.js
@@ -11,7 +11,7 @@ function removeNodeAndSource(n) {
}
function once(target, name, cb) {
- var p = new Promise(function (resolve, reject) {
+ var p = new Promise(function (resolve) {
target.addEventListener(
name,
function () {