Index: third_party/WebKit/LayoutTests/virtual/sharedarraybuffer/webaudio/dom-exceptions-expected.txt |
diff --git a/third_party/WebKit/LayoutTests/webaudio/dom-exceptions-expected.txt b/third_party/WebKit/LayoutTests/virtual/sharedarraybuffer/webaudio/dom-exceptions-expected.txt |
similarity index 90% |
copy from third_party/WebKit/LayoutTests/webaudio/dom-exceptions-expected.txt |
copy to third_party/WebKit/LayoutTests/virtual/sharedarraybuffer/webaudio/dom-exceptions-expected.txt |
index b2b85c9278dd3edf32860d7a7617167417235cb5..82728fbee9cfc20acf485ab48a2d28a70b9a93be 100644 |
--- a/third_party/WebKit/LayoutTests/webaudio/dom-exceptions-expected.txt |
+++ b/third_party/WebKit/LayoutTests/virtual/sharedarraybuffer/webaudio/dom-exceptions-expected.txt |
@@ -1,8 +1,8 @@ |
-CONSOLE WARNING: line 308: The provided value 'fancy' is not a valid enum value of type ChannelCountMode. |
-CONSOLE WARNING: line 314: The provided value 'undefined' is not a valid enum value of type ChannelInterpretation. |
-CONSOLE WARNING: line 444: The provided value '9x' is not a valid enum value of type OverSampleType. |
-CONSOLE WARNING: line 659: The provided value 'junk' is not a valid enum value of type ChannelCountMode. |
-CONSOLE WARNING: line 688: The provided value 'junk' is not a valid enum value of type ChannelCountMode. |
+CONSOLE WARNING: line 341: The provided value 'fancy' is not a valid enum value of type ChannelCountMode. |
+CONSOLE WARNING: line 347: The provided value 'undefined' is not a valid enum value of type ChannelInterpretation. |
+CONSOLE WARNING: line 502: The provided value '9x' is not a valid enum value of type OverSampleType. |
+CONSOLE WARNING: line 717: The provided value 'junk' is not a valid enum value of type ChannelCountMode. |
+CONSOLE WARNING: line 746: The provided value 'junk' is not a valid enum value of type ChannelCountMode. |
This is a testharness.js-based test. |
PASS # AUDIT TASK RUNNER STARTED. |
PASS > [initialize] Initialize contexts for testing |
@@ -50,7 +50,9 @@ PASS context.createPeriodicWave(new Float32Array(4100), new Float32Array(4100) |
PASS context.createPeriodicWave(new Float32Array(8192), new Float32Array(8192)) did not throw an exception. |
PASS context.createPeriodicWave(new Float32Array(10000), new Float32Array(10000)) did not throw an exception. |
PASS context.createPeriodicWave(new Float32Array(10), new Float32Array(7)) threw IndexSizeError: "Failed to execute 'createPeriodicWave' on 'BaseAudioContext': length of real array (10) and length of imaginary array (7) must match.". |
-PASS < [createPeriodicWave] All assertions passed. (total 6 assertions) |
+PASS context.createPeriodicWave(shared_view, nonshared_view) threw TypeError: "Failed to execute 'createPeriodicWave' on 'BaseAudioContext': The provided ArrayBufferView value must not be shared.". |
+PASS context.createPeriodicWave(nonshared_view, shared_view) threw TypeError: "Failed to execute 'createPeriodicWave' on 'BaseAudioContext': The provided ArrayBufferView value must not be shared.". |
+PASS < [createPeriodicWave] All assertions passed. (total 8 assertions) |
PASS > [createAnalyser] |
PASS AnalyserNode.fftSize = 42 threw IndexSizeError: "Failed to set the 'fftSize' property on 'AnalyserNode': The value provided (42) is not a power of two.". |
PASS AnalyserNode.fftSize is not equal to 42. |
@@ -75,8 +77,12 @@ PASS AnalyserNode.getFloatFrequencyData(null) threw TypeError: "Failed to exec |
PASS AnalyserNode.getByteFrequencyData(null) threw TypeError: "Failed to execute 'getByteFrequencyData' on 'AnalyserNode': parameter 1 is not of type 'Uint8Array'.". |
PASS AnalyserNode.getFloatTimeDomainData(null) threw TypeError: "Failed to execute 'getFloatTimeDomainData' on 'AnalyserNode': parameter 1 is not of type 'Float32Array'.". |
PASS AnalyserNode.getByteTimeDomainData(null) threw TypeError: "Failed to execute 'getByteTimeDomainData' on 'AnalyserNode': parameter 1 is not of type 'Uint8Array'.". |
+PASS AnalyserNode.getFloatFrequencyData(SharedArrayBuffer view) threw TypeError: "Failed to execute 'getFloatFrequencyData' on 'AnalyserNode': The provided ArrayBufferView value must not be shared.". |
+PASS AnalyserNode.getByteFrequencyData(SharedArrayBuffer view) threw TypeError: "Failed to execute 'getByteFrequencyData' on 'AnalyserNode': The provided ArrayBufferView value must not be shared.". |
+PASS AnalyserNode.getFloatTimeDomainData(SharedArrayBuffer view) threw TypeError: "Failed to execute 'getFloatTimeDomainData' on 'AnalyserNode': The provided ArrayBufferView value must not be shared.". |
+PASS AnalyserNode.getByteTimeDomainData(SharedArrayBuffer view) threw TypeError: "Failed to execute 'getByteTimeDomainData' on 'AnalyserNode': The provided ArrayBufferView value must not be shared.". |
PASS AudioBuffer.getChannelData(2) threw IndexSizeError: "Failed to execute 'getChannelData' on 'AudioBuffer': channel index (2) exceeds number of channels (1)". |
-PASS < [createAnalyser] All assertions passed. (total 24 assertions) |
+PASS < [createAnalyser] All assertions passed. (total 28 assertions) |
PASS > [Init test nodes] Create test nodes for the following tests |
PASS node = context.createGain() did not throw an exception. |
PASS node2 = context.createGain() did not throw an exception. |
@@ -100,18 +106,22 @@ PASS context.destination.channelCount = 99 threw IndexSizeError: [error messag |
PASS < [channel-stuff] All assertions passed. (total 7 assertions) |
PASS > [audioparam] |
PASS param.setValueCurveAtTime(null, 0, 0) threw TypeError: "Failed to execute 'setValueCurveAtTime' on 'AudioParam': parameter 1 is not of type 'Float32Array'.". |
+PASS param.setValueCurveAtTime(SharedArrayBuffer view, 0, 0) threw TypeError: "Failed to execute 'setValueCurveAtTime' on 'AudioParam': The provided ArrayBufferView value must not be shared.". |
PASS node.gain.exponentialRampToValueAtTime(-1, 0.1) did not throw an exception. |
PASS node.gain.exponentialRampToValueAtTime(0, 0.1) threw InvalidAccessError: "Failed to execute 'exponentialRampToValueAtTime' on 'AudioParam': The float target value provided (0) should not be in the range (-1.40130e-45, 1.40130e-45).". |
PASS node.gain.exponentialRampToValueAtTime(1e-100, 0.1) threw InvalidAccessError: "Failed to execute 'exponentialRampToValueAtTime' on 'AudioParam': The float target value provided (0) should not be in the range (-1.40130e-45, 1.40130e-45).". |
PASS node.gain.exponentialRampToValueAtTime(Math.pow(2, -149), 0.1) did not throw an exception. |
PASS node.gain.exponentialRampToValueAtTime(Math.pow(2, -150), 0.1) threw InvalidAccessError: "Failed to execute 'exponentialRampToValueAtTime' on 'AudioParam': The float target value provided (0) should not be in the range (-1.40130e-45, 1.40130e-45).". |
-PASS < [audioparam] All assertions passed. (total 6 assertions) |
+PASS < [audioparam] All assertions passed. (total 7 assertions) |
PASS > [biquad] |
PASS node.getFrequencyResponse(new Float32Array(1), new Float32Array(1), new Float32Array(1)) did not throw an exception. |
PASS node.getFrequencyResponse(null, new Float32Array(1), new Float32Array(1)) threw TypeError: "Failed to execute 'getFrequencyResponse' on 'BiquadFilterNode': parameter 1 is not of type 'Float32Array'.". |
PASS node.getFrequencyResponse(new Float32Array(1), null, new Float32Array(1)) threw TypeError: "Failed to execute 'getFrequencyResponse' on 'BiquadFilterNode': parameter 2 is not of type 'Float32Array'.". |
PASS node.getFrequencyResponse(new Float32Array(1), new Float32Array(1), null) threw TypeError: "Failed to execute 'getFrequencyResponse' on 'BiquadFilterNode': parameter 3 is not of type 'Float32Array'.". |
-PASS < [biquad] All assertions passed. (total 4 assertions) |
+PASS node.getFrequencyResponse(shared_view, nonshared_view, nonshared_view) threw TypeError: "Failed to execute 'getFrequencyResponse' on 'BiquadFilterNode': The provided ArrayBufferView value must not be shared.". |
+PASS node.getFrequencyResponse(nonshared_view, shared_view, nonshared_view) threw TypeError: "Failed to execute 'getFrequencyResponse' on 'BiquadFilterNode': The provided ArrayBufferView value must not be shared.". |
+PASS node.getFrequencyResponse(nonshared_view, nonshared_view, shared_view) threw TypeError: "Failed to execute 'getFrequencyResponse' on 'BiquadFilterNode': The provided ArrayBufferView value must not be shared.". |
+PASS < [biquad] All assertions passed. (total 7 assertions) |
PASS > [offline-audio-context] |
PASS new OfflineAudioContext(32, 100, context.sampleRate) did not throw an exception. |
PASS new OfflineAudioContext(0, 100, context.sampleRate) threw NotSupportedError: "Failed to construct 'OfflineAudioContext': The number of channels provided (0) is outside the range [1, 32].". |