Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(81)

Unified Diff: LayoutTests/webaudio/dom-exceptions.html

Issue 1097873003: Revert of AudioContext.decodeAudioData returns a Promise (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/webaudio/dom-exceptions.html
diff --git a/LayoutTests/webaudio/dom-exceptions.html b/LayoutTests/webaudio/dom-exceptions.html
index 6cff51a3d687e00a5fa0db2839c418fbab8d4793..18691d25c0269c2cfd0d69cbb1fa6321812c9c1a 100644
--- a/LayoutTests/webaudio/dom-exceptions.html
+++ b/LayoutTests/webaudio/dom-exceptions.html
@@ -50,6 +50,8 @@
shouldThrow("context.createBuffer(1, 0, context.sampleRate)");
// 2-arg createBuffer not allowed.
shouldThrow("context.createBuffer(new ArrayBuffer(100), true)");
+ // Invalid ArrayBuffer (unspecified error)
+ shouldThrow("context.decodeAudioData(null, function() {}, function () {})");
// Invalid sources (unspecified error)
shouldThrow("context.createMediaElementSource(null)");
shouldThrow("context.createMediaStreamSource(null)");
« no previous file with comments | « LayoutTests/webaudio/decode-audio-data-promise-expected.txt ('k') | LayoutTests/webaudio/dom-exceptions-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698