Index: LayoutTests/webaudio/dom-exceptions-expected.txt |
diff --git a/LayoutTests/webaudio/dom-exceptions-expected.txt b/LayoutTests/webaudio/dom-exceptions-expected.txt |
index 1d7ebbb2f7dd4ff1cd4a4c8e2db73bfa8ab8f7bc..4176010db67c166bfe77fe7364c6d7d990a56648 100644 |
--- a/LayoutTests/webaudio/dom-exceptions-expected.txt |
+++ b/LayoutTests/webaudio/dom-exceptions-expected.txt |
@@ -78,22 +78,22 @@ PASS source = context.createBufferSource() did not throw exception. |
PASS source.buffer = buffer did not throw exception. |
PASS source.buffer = context.createBuffer(1, 10, context.sampleRate) did not throw exception. |
PASS source.start(-1) threw exception InvalidAccessError: Failed to execute 'start' on 'AudioBufferSourceNode': Start time must be a finite non-negative number: -1. |
-PASS source.start(Infinity) threw exception InvalidAccessError: Failed to execute 'start' on 'AudioBufferSourceNode': Start time must be a finite non-negative number: Infinity. |
-PASS source.start(-Infinity) threw exception InvalidAccessError: Failed to execute 'start' on 'AudioBufferSourceNode': Start time must be a finite non-negative number: -Infinity. |
-PASS source.start(NaN) threw exception InvalidAccessError: Failed to execute 'start' on 'AudioBufferSourceNode': Start time must be a finite non-negative number: NaN. |
-PASS source.start(1, Infinity) threw exception InvalidStateError: Failed to execute 'start' on 'AudioBufferSourceNode': Offset must be a finite non-negative number: Infinity. |
-PASS source.start(1, -Infinity) threw exception InvalidStateError: Failed to execute 'start' on 'AudioBufferSourceNode': Offset must be a finite non-negative number: -Infinity. |
-PASS source.start(1, NaN) threw exception InvalidStateError: Failed to execute 'start' on 'AudioBufferSourceNode': Offset must be a finite non-negative number: NaN. |
-PASS source.start(1, -1) threw exception InvalidStateError: Failed to execute 'start' on 'AudioBufferSourceNode': Offset must be a finite non-negative number: -1. |
-PASS source.start(1, 1, Infinity) threw exception InvalidStateError: Failed to execute 'start' on 'AudioBufferSourceNode': Duration must be a finite non-negative number: Infinity. |
-PASS source.start(1, 1, -Infinity) threw exception InvalidStateError: Failed to execute 'start' on 'AudioBufferSourceNode': Duration must be a finite non-negative number: -Infinity. |
-PASS source.start(1, 1, NaN) threw exception InvalidStateError: Failed to execute 'start' on 'AudioBufferSourceNode': Duration must be a finite non-negative number: NaN. |
-PASS source.start(1, 1, -1) threw exception InvalidStateError: Failed to execute 'start' on 'AudioBufferSourceNode': Duration must be a finite non-negative number: -1. |
+PASS source.start(Infinity) threw exception TypeError: Failed to execute 'start' on 'AudioBufferSourceNode': The provided double value is non-finite.. |
+PASS source.start(-Infinity) threw exception TypeError: Failed to execute 'start' on 'AudioBufferSourceNode': The provided double value is non-finite.. |
+PASS source.start(NaN) threw exception TypeError: Failed to execute 'start' on 'AudioBufferSourceNode': The provided double value is non-finite.. |
+PASS source.start(1, Infinity) threw exception TypeError: Failed to execute 'start' on 'AudioBufferSourceNode': The provided double value is non-finite.. |
+PASS source.start(1, -Infinity) threw exception TypeError: Failed to execute 'start' on 'AudioBufferSourceNode': The provided double value is non-finite.. |
+PASS source.start(1, NaN) threw exception TypeError: Failed to execute 'start' on 'AudioBufferSourceNode': The provided double value is non-finite.. |
+PASS source.start(1, -1) threw exception InvalidStateError: Failed to execute 'start' on 'AudioBufferSourceNode': Offset must be a non-negative number: -1. |
+PASS source.start(1, 1, Infinity) threw exception TypeError: Failed to execute 'start' on 'AudioBufferSourceNode': The provided double value is non-finite.. |
+PASS source.start(1, 1, -Infinity) threw exception TypeError: Failed to execute 'start' on 'AudioBufferSourceNode': The provided double value is non-finite.. |
+PASS source.start(1, 1, NaN) threw exception TypeError: Failed to execute 'start' on 'AudioBufferSourceNode': The provided double value is non-finite.. |
+PASS source.start(1, 1, -1) threw exception InvalidStateError: Failed to execute 'start' on 'AudioBufferSourceNode': Duration must be a non-negative number: -1. |
PASS source.start() did not throw exception. |
-PASS source.stop(-1) threw exception InvalidAccessError: Failed to execute 'stop' on 'AudioBufferSourceNode': Stop time must be a finite non-negative number: -1. |
-PASS source.stop(Infinity) threw exception InvalidAccessError: Failed to execute 'stop' on 'AudioBufferSourceNode': Stop time must be a finite non-negative number: Infinity. |
-PASS source.stop(-Infinity) threw exception InvalidAccessError: Failed to execute 'stop' on 'AudioBufferSourceNode': Stop time must be a finite non-negative number: -Infinity. |
-PASS source.stop(NaN) threw exception InvalidAccessError: Failed to execute 'stop' on 'AudioBufferSourceNode': Stop time must be a finite non-negative number: NaN. |
+PASS source.stop(-1) threw exception InvalidAccessError: Failed to execute 'stop' on 'AudioBufferSourceNode': Stop time must be a non-negative number: -1. |
+PASS source.stop(Infinity) threw exception TypeError: Failed to execute 'stop' on 'AudioBufferSourceNode': The provided double value is non-finite.. |
+PASS source.stop(-Infinity) threw exception TypeError: Failed to execute 'stop' on 'AudioBufferSourceNode': The provided double value is non-finite.. |
+PASS source.stop(NaN) threw exception TypeError: Failed to execute 'stop' on 'AudioBufferSourceNode': The provided double value is non-finite.. |
PASS source.stop() did not throw exception. |
PASS source = context.createBufferSource() did not throw exception. |
PASS source.start() did not throw exception. |
@@ -110,14 +110,14 @@ PASS source.start() did not throw exception. |
PASS source.stop() did not throw exception. |
PASS source = context.createOscillator() did not throw exception. |
PASS source.start(-1) threw exception InvalidAccessError: Failed to execute 'start' on 'OscillatorNode': Start time must be a finite non-negative number: -1. |
-PASS source.start(Infinity) threw exception InvalidAccessError: Failed to execute 'start' on 'OscillatorNode': Start time must be a finite non-negative number: Infinity. |
-PASS source.start(-Infinity) threw exception InvalidAccessError: Failed to execute 'start' on 'OscillatorNode': Start time must be a finite non-negative number: -Infinity. |
-PASS source.start(NaN) threw exception InvalidAccessError: Failed to execute 'start' on 'OscillatorNode': Start time must be a finite non-negative number: NaN. |
+PASS source.start(Infinity) threw exception TypeError: Failed to execute 'start' on 'OscillatorNode': The provided double value is non-finite.. |
+PASS source.start(-Infinity) threw exception TypeError: Failed to execute 'start' on 'OscillatorNode': The provided double value is non-finite.. |
+PASS source.start(NaN) threw exception TypeError: Failed to execute 'start' on 'OscillatorNode': The provided double value is non-finite.. |
PASS source.start() did not throw exception. |
-PASS source.stop(-1) threw exception InvalidAccessError: Failed to execute 'stop' on 'OscillatorNode': Stop time must be a finite non-negative number: -1. |
-PASS source.stop(Infinity) threw exception InvalidAccessError: Failed to execute 'stop' on 'OscillatorNode': Stop time must be a finite non-negative number: Infinity. |
-PASS source.stop(-Infinity) threw exception InvalidAccessError: Failed to execute 'stop' on 'OscillatorNode': Stop time must be a finite non-negative number: -Infinity. |
-PASS source.stop(NaN) threw exception InvalidAccessError: Failed to execute 'stop' on 'OscillatorNode': Stop time must be a finite non-negative number: NaN. |
+PASS source.stop(-1) threw exception InvalidAccessError: Failed to execute 'stop' on 'OscillatorNode': Stop time must be a non-negative number: -1. |
+PASS source.stop(Infinity) threw exception TypeError: Failed to execute 'stop' on 'OscillatorNode': The provided double value is non-finite.. |
+PASS source.stop(-Infinity) threw exception TypeError: Failed to execute 'stop' on 'OscillatorNode': The provided double value is non-finite.. |
+PASS source.stop(NaN) threw exception TypeError: Failed to execute 'stop' on 'OscillatorNode': The provided double value is non-finite.. |
PASS source.stop() did not throw exception. |
PASS osc = context.createOscillator() did not throw exception. |
PASS osc.stop() threw exception InvalidStateError: Failed to execute 'stop' on 'OscillatorNode': cannot call stop without calling start first.. |