Skip to content

Commit b4e3b61

Browse files
committed
imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-panner-connections.html fails on some platforms
https://bugs.webkit.org/show_bug.cgi?id=218527 <rdar://problem/68947198> Reviewed by Eric Carlson. LayoutTests/imported/w3c: Rebaseline WPT tests now that floating point values are truncated to 6 decimals in the tests' output. * web-platform-tests/webaudio/the-audio-api/the-analysernode-interface/realtimeanalyser-basic-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audiobuffer-interface/audiobuffer-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiobuffersource-multi-channels-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audiobuffersourcenode-interface/ctor-audiobuffersource-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audiobuffersourcenode-interface/sub-sample-buffer-stitching-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audiobuffersourcenode-interface/sub-sample-scheduling-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audiocontext-interface/audiocontextoptions-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/adding-events-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/audioparam-close-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/audioparam-exponentialRampToValueAtTime-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/audioparam-linearRampToValueAtTime-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/audioparam-method-chaining-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/audioparam-setTargetAtTime-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/audioparam-setValueCurve-exceptions-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/audioparam-setValueCurveAtTime-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/event-insertion-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-biquad-connection-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-connections-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-panner-connections-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-panner-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/set-target-conv-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-audioparam.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletglobalscope-timing-info.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-biquadfilternode-interface/biquad-automation-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-biquadfilternode-interface/biquad-getFrequencyResponse-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-biquadfilternode-interface/no-dezippering-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-constantsourcenode-interface/constant-source-basic-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/convolver-response-1-chan-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/convolver-response-2-chan-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/convolver-response-4-chan-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/no-dezippering-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-dynamicscompressornode-interface/ctor-dynamicscompressor-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-dynamicscompressornode-interface/dynamicscompressor-basic-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-iirfilternode-interface/iirfilter-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-iirfilternode-interface/iirfilter-getFrequencyResponse-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-oscillatornode-interface/detune-limiting-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-oscillatornode-interface/osc-basic-waveform-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/ctor-panner-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/distance-exponential-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/distance-inverse-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/distance-linear-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/panner-automation-basic-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/panner-automation-equalpower-stereo-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/panner-automation-position-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/panner-azimuth-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/panner-equalpower-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/panner-equalpower-stereo-expected.txt: LayoutTests: * platform/ios/TestExpectations: * platform/mac/TestExpectations: Unskip test that should no longer be flaky. * resources/testharnessreport.js: (self.testRunner.add_completion_callback): In addition to stripping arrays of floating point values from webaudio tests' output, we now also truncate all floating point values to 6 decimals in those tests too. This allows tests like k-rate-panner-connections.html to consistently pass on all platforms because the floating point values that were causing failures are not in an array. Canonical link: https://commits.webkit.org/231205@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@269361 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 parent b97ddfc commit b4e3b61

96 files changed

Lines changed: 1464 additions & 1389 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

LayoutTests/ChangeLog

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
2020-11-04 Chris Dumez <cdumez@apple.com>
2+
3+
imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-panner-connections.html fails on some platforms
4+
https://bugs.webkit.org/show_bug.cgi?id=218527
5+
<rdar://problem/68947198>
6+
7+
Reviewed by Eric Carlson.
8+
9+
* platform/ios/TestExpectations:
10+
* platform/mac/TestExpectations:
11+
Unskip test that should no longer be flaky.
12+
13+
* resources/testharnessreport.js:
14+
(self.testRunner.add_completion_callback):
15+
In addition to stripping arrays of floating point values from webaudio tests' output,
16+
we now also truncate all floating point values to 6 decimals in those tests too.
17+
This allows tests like k-rate-panner-connections.html to consistently pass on all
18+
platforms because the floating point values that were causing failures are not in an
19+
array.
20+
121
2020-11-04 Sam Weinig <weinig@apple.com>
222

323
Remove experimental: and internal: prefixes from test header commands

LayoutTests/imported/w3c/ChangeLog

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,61 @@
1+
2020-11-04 Chris Dumez <cdumez@apple.com>
2+
3+
imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-panner-connections.html fails on some platforms
4+
https://bugs.webkit.org/show_bug.cgi?id=218527
5+
<rdar://problem/68947198>
6+
7+
Reviewed by Eric Carlson.
8+
9+
Rebaseline WPT tests now that floating point values are truncated to 6 decimals in the tests' output.
10+
11+
* web-platform-tests/webaudio/the-audio-api/the-analysernode-interface/realtimeanalyser-basic-expected.txt:
12+
* web-platform-tests/webaudio/the-audio-api/the-audiobuffer-interface/audiobuffer-expected.txt:
13+
* web-platform-tests/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiobuffersource-multi-channels-expected.txt:
14+
* web-platform-tests/webaudio/the-audio-api/the-audiobuffersourcenode-interface/ctor-audiobuffersource-expected.txt:
15+
* web-platform-tests/webaudio/the-audio-api/the-audiobuffersourcenode-interface/sub-sample-buffer-stitching-expected.txt:
16+
* web-platform-tests/webaudio/the-audio-api/the-audiobuffersourcenode-interface/sub-sample-scheduling-expected.txt:
17+
* web-platform-tests/webaudio/the-audio-api/the-audiocontext-interface/audiocontextoptions-expected.txt:
18+
* web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/adding-events-expected.txt:
19+
* web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/audioparam-close-expected.txt:
20+
* web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/audioparam-exponentialRampToValueAtTime-expected.txt:
21+
* web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/audioparam-linearRampToValueAtTime-expected.txt:
22+
* web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/audioparam-method-chaining-expected.txt:
23+
* web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/audioparam-setTargetAtTime-expected.txt:
24+
* web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/audioparam-setValueCurve-exceptions-expected.txt:
25+
* web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/audioparam-setValueCurveAtTime-expected.txt:
26+
* web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/event-insertion-expected.txt:
27+
* web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-biquad-connection-expected.txt:
28+
* web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-connections-expected.txt:
29+
* web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-panner-connections-expected.txt:
30+
* web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-panner-expected.txt:
31+
* web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/set-target-conv-expected.txt:
32+
* web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-audioparam.https-expected.txt:
33+
* web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletglobalscope-timing-info.https-expected.txt:
34+
* web-platform-tests/webaudio/the-audio-api/the-biquadfilternode-interface/biquad-automation-expected.txt:
35+
* web-platform-tests/webaudio/the-audio-api/the-biquadfilternode-interface/biquad-getFrequencyResponse-expected.txt:
36+
* web-platform-tests/webaudio/the-audio-api/the-biquadfilternode-interface/no-dezippering-expected.txt:
37+
* web-platform-tests/webaudio/the-audio-api/the-constantsourcenode-interface/constant-source-basic-expected.txt:
38+
* web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/convolver-response-1-chan-expected.txt:
39+
* web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/convolver-response-2-chan-expected.txt:
40+
* web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/convolver-response-4-chan-expected.txt:
41+
* web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/no-dezippering-expected.txt:
42+
* web-platform-tests/webaudio/the-audio-api/the-dynamicscompressornode-interface/ctor-dynamicscompressor-expected.txt:
43+
* web-platform-tests/webaudio/the-audio-api/the-dynamicscompressornode-interface/dynamicscompressor-basic-expected.txt:
44+
* web-platform-tests/webaudio/the-audio-api/the-iirfilternode-interface/iirfilter-expected.txt:
45+
* web-platform-tests/webaudio/the-audio-api/the-iirfilternode-interface/iirfilter-getFrequencyResponse-expected.txt:
46+
* web-platform-tests/webaudio/the-audio-api/the-oscillatornode-interface/detune-limiting-expected.txt:
47+
* web-platform-tests/webaudio/the-audio-api/the-oscillatornode-interface/osc-basic-waveform-expected.txt:
48+
* web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/ctor-panner-expected.txt:
49+
* web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/distance-exponential-expected.txt:
50+
* web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/distance-inverse-expected.txt:
51+
* web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/distance-linear-expected.txt:
52+
* web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/panner-automation-basic-expected.txt:
53+
* web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/panner-automation-equalpower-stereo-expected.txt:
54+
* web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/panner-automation-position-expected.txt:
55+
* web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/panner-azimuth-expected.txt:
56+
* web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/panner-equalpower-expected.txt:
57+
* web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/panner-equalpower-stereo-expected.txt:
58+
159
2020-11-04 Sam Weinig <weinig@apple.com>
260

361
Remove experimental: and internal: prefixes from test header commands

LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-analysernode-interface/realtimeanalyser-basic-expected.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ PASS Number of outputs for AnalyserNode is equal to 1.
88
PASS Default minDecibels value is equal to -100.
99
PASS Default maxDecibels value is equal to -30.
1010
PASS Default smoothingTimeConstant value is equal to 0.8.
11-
PASS node.minDecibels = -50.333333333333336 is equal to -50.333333333333336.
12-
PASS node.maxDecibels = -40.333333333333336 is equal to -40.333333333333336.
11+
PASS node.minDecibels = -50.333333 is equal to -50.333333.
12+
PASS node.maxDecibels = -40.333333 is equal to -40.333333.
1313
PASS < [Basic AnalyserNode test] All assertions passed. (total 7 assertions)
1414
PASS # AUDIT TASK RUNNER FINISHED: 1 tasks ran successfully.
1515

LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audiobuffer-interface/audiobuffer-expected.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ PASS buffer.getChannelData(1) instanceof window.Float32Array is true.
1313
PASS buffer.getChannelData(2) instanceof window.Float32Array is true.
1414
PASS buffer.getChannelData(3) instanceof window.Float32Array is true.
1515
PASS buffer.getChannelData(4) threw IndexSizeError: "Index must be less than number of channels.".
16-
PASS context.createBuffer(1, 1000, 24576).duration is equal to 0.040690104166666664.
16+
PASS context.createBuffer(1, 1000, 24576).duration is equal to 0.040690.
1717
PASS < [Basic tests for AudioBuffer] All assertions passed. (total 11 assertions)
1818
PASS # AUDIT TASK RUNNER FINISHED: 1 tasks ran successfully.
1919

LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiobuffersource-multi-channels-expected.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ PASS Creating context for testing did not throw an exception.
88
PASS Fetching expected audio resolved correctly.
99
PASS < [initialize] All assertions passed. (total 2 assertions)
1010
PASS > [test] AudioBufferSource with 5.1 buffer
11-
PASS Rendered audio for channel 0 equals [expected array] with an element-wise tolerance of {"absoluteThreshold":0.000030517578125,"relativeThreshold":0}.
12-
PASS Rendered audio for channel 1 equals [expected array] with an element-wise tolerance of {"absoluteThreshold":0.000030517578125,"relativeThreshold":0}.
13-
PASS Rendered audio for channel 2 equals [expected array] with an element-wise tolerance of {"absoluteThreshold":0.000030517578125,"relativeThreshold":0}.
14-
PASS Rendered audio for channel 3 equals [expected array] with an element-wise tolerance of {"absoluteThreshold":0.000030517578125,"relativeThreshold":0}.
15-
PASS Rendered audio for channel 4 equals [expected array] with an element-wise tolerance of {"absoluteThreshold":0.000030517578125,"relativeThreshold":0}.
16-
PASS Rendered audio for channel 5 equals [expected array] with an element-wise tolerance of {"absoluteThreshold":0.000030517578125,"relativeThreshold":0}.
11+
PASS Rendered audio for channel 0 equals [expected array] with an element-wise tolerance of {"absoluteThreshold":0.000031,"relativeThreshold":0}.
12+
PASS Rendered audio for channel 1 equals [expected array] with an element-wise tolerance of {"absoluteThreshold":0.000031,"relativeThreshold":0}.
13+
PASS Rendered audio for channel 2 equals [expected array] with an element-wise tolerance of {"absoluteThreshold":0.000031,"relativeThreshold":0}.
14+
PASS Rendered audio for channel 3 equals [expected array] with an element-wise tolerance of {"absoluteThreshold":0.000031,"relativeThreshold":0}.
15+
PASS Rendered audio for channel 4 equals [expected array] with an element-wise tolerance of {"absoluteThreshold":0.000031,"relativeThreshold":0}.
16+
PASS Rendered audio for channel 5 equals [expected array] with an element-wise tolerance of {"absoluteThreshold":0.000031,"relativeThreshold":0}.
1717
PASS < [test] All assertions passed. (total 6 assertions)
1818
PASS # AUDIT TASK RUNNER FINISHED: 2 tasks ran successfully.
1919

LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audiobuffersourcenode-interface/ctor-audiobuffersource-expected.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ PASS node1 = new AudioBufferSourceNode(c, {"buffer":null} did not throw an exc
3434
PASS node1.buffer is equal to null.
3535
PASS < [nullable buffer] All assertions passed. (total 2 assertions)
3636
PASS > [constructor options]
37-
PASS node = new AudioBufferSourceNode(c, {"buffer":{},"detune":0.5,"loop":true,"loopEnd":0.010416666666666666,"loopStart":0.00010416666666666667,"playbackRate":0.75}) did not throw an exception.
37+
PASS node = new AudioBufferSourceNode(c, {"buffer":{},"detune":0.5,"loop":true,"loopEnd":0.010417,"loopStart":0.000104,"playbackRate":0.75}) did not throw an exception.
3838
PASS node2.buffer === buffer is equal to true.
3939
PASS node2.detune.value is equal to 0.5.
4040
PASS node2.loop is equal to true.
41-
PASS node2.loopEnd is equal to 0.010416666666666666.
42-
PASS node2.loopStart is equal to 0.00010416666666666667.
41+
PASS node2.loopEnd is equal to 0.010417.
42+
PASS node2.loopStart is equal to 0.000104.
4343
PASS node2.playbackRate.value is equal to 0.75.
4444
PASS < [constructor options] All assertions passed. (total 7 assertions)
4545
PASS # AUDIT TASK RUNNER FINISHED: 5 tasks ran successfully.

LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audiobuffersourcenode-interface/sub-sample-buffer-stitching-expected.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ PASS Executing "buffer-stitching-2"
55
PASS Audit report
66
PASS > [buffer-stitching-1] Subsample buffer stitching, same rates
77
PASS Test 1: context.sampleRate is equal to 44100.
8-
PASS Stitched sine-wave buffers at sample rate 44100 equals [expected array] with an element-wise tolerance of {"absoluteThreshold":0.000090957,"relativeThreshold":0}.
9-
PASS SNR (85.58656138880359 dB) is greater than or equal to 85.58.
8+
PASS Stitched sine-wave buffers at sample rate 44100 equals [expected array] with an element-wise tolerance of {"absoluteThreshold":0.000091,"relativeThreshold":0}.
9+
PASS SNR (85.586561 dB) is greater than or equal to 85.58.
1010
PASS < [buffer-stitching-1] All assertions passed. (total 3 assertions)
1111
PASS > [buffer-stitching-2] Subsample buffer stitching, different rates
1212
PASS Test 2: context.sampleRate is equal to 44100.
13-
PASS Stitched sine-wave buffers at sample rate 43800 equals [expected array] with an element-wise tolerance of {"absoluteThreshold":0.0038986,"relativeThreshold":0}.
14-
PASS SNR (65.73793928980352 dB) is greater than or equal to 65.737.
13+
PASS Stitched sine-wave buffers at sample rate 43800 equals [expected array] with an element-wise tolerance of {"absoluteThreshold":0.003899,"relativeThreshold":0}.
14+
PASS SNR (65.737939 dB) is greater than or equal to 65.737.
1515
PASS < [buffer-stitching-2] All assertions passed. (total 3 assertions)
1616
PASS # AUDIT TASK RUNNER FINISHED: 2 tasks ran successfully.
1717

LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audiobuffersourcenode-interface/sub-sample-scheduling-expected.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ PASS < [sub-sample-grain] All assertions passed. (total 16 assertions)
4545
PASS > [sub-sample accurate start with playbackRate]
4646
PASS Source start frame is equal to 17.8.
4747
PASS With playbackRate 0.25: output0[17] is equal to 0.
48-
PASS With playbackRate 0.25: output0[18] is 1.0499999999999998 within an error of 4.542e-8.
48+
PASS With playbackRate 0.25: output0[18] is 1.050000 within an error of 4.542e-8.
4949
PASS With playbackRate 4: output1[17] is equal to 0.
50-
PASS With playbackRate 4: output1[18] is 1.7999999999999972 within an error of 4.542e-8.
50+
PASS With playbackRate 4: output1[18] is 1.800000 within an error of 4.542e-8.
5151
PASS < [sub-sample accurate start with playbackRate] All assertions passed. (total 5 assertions)
5252
PASS # AUDIT TASK RUNNER FINISHED: 4 tasks ran successfully.
5353

LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audiocontext-interface/audiocontextoptions-expected.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,21 @@ PASS context = new AudioContext() did not throw an exception.
99
PASS context.sampleRate (44100 Hz) is greater than 0.
1010
PASS default baseLatency is greater than or equal to 0.
1111
PASS context = new AudioContext({'latencyHint': 'interactive'}) did not throw an exception.
12-
PASS interactive baseLatency is equal to 0.0029024943310657597.
12+
PASS interactive baseLatency is equal to 0.002902.
1313
PASS context = new AudioContext({'latencyHint': 'balanced'}) did not throw an exception.
14-
PASS balanced baseLatency is greater than or equal to 0.0029024943310657597.
14+
PASS balanced baseLatency is greater than or equal to 0.002902.
1515
PASS context = new AudioContext({'latencyHint': 'playback'}) did not throw an exception.
16-
PASS playback baseLatency is greater than or equal to 0.0029024943310657597.
16+
PASS playback baseLatency is greater than or equal to 0.002902.
1717
PASS < [test-audiocontextoptions-latencyHint-basic] All assertions passed. (total 9 assertions)
1818
PASS > [test-audiocontextoptions-latencyHint-double] Test creating contexts with explicit latencyHint values.
1919
PASS context = new AudioContext({'latencyHint': interactiveLatency/2}) did not throw an exception.
20-
PASS double-constructor baseLatency small is less than or equal to 0.0029024943310657597.
20+
PASS double-constructor baseLatency small is less than or equal to 0.002902.
2121
PASS context = new AudioContext({'latencyHint': validLatency}) did not throw an exception.
22-
PASS double-constructor baseLatency inrange 1 is greater than or equal to 0.0029024943310657597.
23-
PASS double-constructor baseLatency inrange 2 is less than or equal to 0.0029024943310657597.
22+
PASS double-constructor baseLatency inrange 1 is greater than or equal to 0.002902.
23+
PASS double-constructor baseLatency inrange 2 is less than or equal to 0.002902.
2424
PASS creating two high latency contexts did not throw an exception.
25-
PASS high latency context baseLatency is equal to 0.0029024943310657597.
26-
PASS high latency context baseLatency is greater than or equal to 0.0029024943310657597.
25+
PASS high latency context baseLatency is equal to 0.002902.
26+
PASS high latency context baseLatency is greater than or equal to 0.002902.
2727
PASS context = new AudioContext({'latencyHint': 'foo'}) threw TypeError: "Type error".
2828
PASS context = new AudioContext('latencyHint') threw TypeError: "Type error".
2929
PASS < [test-audiocontextoptions-latencyHint-double] All assertions passed. (total 10 assertions)

LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/adding-events-expected.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ PASS Executing "linearRamp"
44
PASS Executing "expoRamp"
55
PASS Audit report
66
PASS > [linearRamp] Insert linearRamp after running for some time
7-
PASS linearRamp: setValueAtTime(1, 0.0078125) did not throw an exception.
8-
PASS linearRamp: At time 0.0625 scheduling linearRampToValueAtTime(2, 0.1328125) did not throw an exception.
7+
PASS linearRamp: setValueAtTime(1, 0.007813) did not throw an exception.
8+
PASS linearRamp: At time 0.0625 scheduling linearRampToValueAtTime(2, 0.132813) did not throw an exception.
99
PASS linearRamp: output[0:511] contains only the constant 1.
1010
PASS linearRamp: output[512:576] equals [...] with an element-wise tolerance of {"absoluteThreshold":0,"relativeThreshold":0}.
1111
PASS linearRamp: output[1088:] contains only the constant 2.
1212
PASS < [linearRamp] All assertions passed. (total 5 assertions)
1313
PASS > [expoRamp] Insert expoRamp after running for some time
14-
PASS expoRamp: setValueAtTime(1, 0.0078125) did not throw an exception.
15-
PASS expoRamp: At time 0.0625 scheduling exponentialRampToValueAtTime(2, 0.1328125) did not throw an exception.
14+
PASS expoRamp: setValueAtTime(1, 0.007813) did not throw an exception.
15+
PASS expoRamp: At time 0.0625 scheduling exponentialRampToValueAtTime(2, 0.132813) did not throw an exception.
1616
PASS expoRamp: output[0:511] contains only the constant 1.
1717
PASS expoRamp: output[512:576] equals [...] with an element-wise tolerance of {"absoluteThreshold":0,"relativeThreshold":0}.
1818
PASS expoRamp: output[1088:] contains only the constant 2.

0 commit comments

Comments
 (0)