summaryrefslogtreecommitdiffstats
path: root/dom/media/test/can_play_type_ogg.js
diff options
context:
space:
mode:
Diffstat (limited to 'dom/media/test/can_play_type_ogg.js')
-rw-r--r--dom/media/test/can_play_type_ogg.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/media/test/can_play_type_ogg.js b/dom/media/test/can_play_type_ogg.js
index 79bf8a554c..6572ab7c0f 100644
--- a/dom/media/test/can_play_type_ogg.js
+++ b/dom/media/test/can_play_type_ogg.js
@@ -4,7 +4,7 @@ function check_ogg(v, enabled, finish) {
}
function basic_test() {
- return new Promise(function (resolve, reject) {
+ return new Promise(function (resolve) {
// Ogg types
check("video/ogg", "maybe");
check("audio/ogg", "maybe");