Index: LayoutTests/webaudio/dom-exceptions-expected.txt |
diff --git a/LayoutTests/webaudio/dom-exceptions-expected.txt b/LayoutTests/webaudio/dom-exceptions-expected.txt |
index df3ce2bea024f6984b31ba71977094b0091c716d..4f3193ab05c7566349c2ac54a93a08b60a68d76b 100644 |
--- a/LayoutTests/webaudio/dom-exceptions-expected.txt |
+++ b/LayoutTests/webaudio/dom-exceptions-expected.txt |
@@ -3,8 +3,10 @@ Tests DOM exception messages |
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
PASS context.createBuffer(99, 1, context.sampleRate) threw exception NotSupportedError: Failed to execute 'createBuffer' on 'AudioContext': requested number of channels (99) exceeds maximum (32). |
-PASS context.createBuffer(1, 1, 1) threw exception NotSupportedError: Failed to execute 'createBuffer' on 'AudioContext': requested sample rate (1) does not lie in the allowed range of 22050-96000 Hz. |
-PASS context.createBuffer(1, 1, 1e6) threw exception NotSupportedError: Failed to execute 'createBuffer' on 'AudioContext': requested sample rate (1.00000e+6) does not lie in the allowed range of 22050-96000 Hz. |
+PASS context.createBuffer(1, 1, 1) threw exception NotSupportedError: Failed to execute 'createBuffer' on 'AudioContext': requested sample rate (1) does not lie in the allowed range of 3000-192000 Hz. |
+PASS context.createBuffer(1, 1, 1e6) threw exception NotSupportedError: Failed to execute 'createBuffer' on 'AudioContext': requested sample rate (1.00000e+6) does not lie in the allowed range of 3000-192000 Hz. |
+PASS context.createBuffer(1, 1, 3000) did not throw exception. |
+PASS context.createBuffer(1, 1, 192000) did not throw exception. |
PASS context.createBuffer(1, 0, context.sampleRate) threw exception NotSupportedError: Failed to execute 'createBuffer' on 'AudioContext': number of frames must be greater than 0.. |
PASS context.createBuffer(new ArrayBuffer(100), true) threw exception SyntaxError: Failed to execute 'createBuffer' on 'AudioContext': invalid audio data in ArrayBuffer.. |
PASS context.decodeAudioData(null, function() {}, function () {}) threw exception SyntaxError: Failed to execute 'decodeAudioData' on 'AudioContext': invalid ArrayBuffer for audioData.. |