summaryrefslogtreecommitdiffstats
path: root/dom/media/webaudio/test/test_decodeAudioDataPromise.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/media/webaudio/test/test_decodeAudioDataPromise.html')
-rw-r--r--dom/media/webaudio/test/test_decodeAudioDataPromise.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/media/webaudio/test/test_decodeAudioDataPromise.html b/dom/media/webaudio/test/test_decodeAudioDataPromise.html
index 139a686db1..a686c275cd 100644
--- a/dom/media/webaudio/test/test_decodeAudioDataPromise.html
+++ b/dom/media/webaudio/test/test_decodeAudioDataPromise.html
@@ -27,7 +27,7 @@ var ac = new AudioContext();
expectNoException(function() {
var p = ac.decodeAudioData(" ");
ok(p instanceof Promise, "AudioContext.decodeAudioData should return a Promise");
- p.then(function(data) {
+ p.then(function() {
ok(false, "Promise should not resolve with an invalid source buffer.");
finish();
}).catch(function(e) {