Commit 90c8aed
committed
Import remaining webaudio layout tests from Blink
https://bugs.webkit.org/show_bug.cgi?id=216719
Reviewed by Darin Adler.
Import remaining webaudio tests from Blink that we had not imported yet.
* TestExpectations:
* webaudio/BiquadFilter/biquad-829349-expected.txt: Added.
* webaudio/BiquadFilter/biquad-829349.html: Added.
* webaudio/BiquadFilter/tail-time-allpass-expected.txt: Added.
* webaudio/BiquadFilter/tail-time-allpass.html: Added.
* webaudio/BiquadFilter/tail-time-bandpass-expected.txt: Added.
* webaudio/BiquadFilter/tail-time-bandpass.html: Added.
* webaudio/BiquadFilter/tail-time-highpass-expected.txt: Added.
* webaudio/BiquadFilter/tail-time-highpass.html: Added.
* webaudio/BiquadFilter/tail-time-highshelf-expected.txt: Added.
* webaudio/BiquadFilter/tail-time-highshelf.html: Added.
* webaudio/BiquadFilter/tail-time-lowpass-expected.txt: Added.
* webaudio/BiquadFilter/tail-time-lowpass.html: Added.
* webaudio/BiquadFilter/tail-time-lowshelf-expected.txt: Added.
* webaudio/BiquadFilter/tail-time-lowshelf.html: Added.
* webaudio/BiquadFilter/tail-time-notch-expected.txt: Added.
* webaudio/BiquadFilter/tail-time-notch.html: Added.
* webaudio/BiquadFilter/tail-time-peaking-expected.txt: Added.
* webaudio/BiquadFilter/tail-time-peaking.html: Added.
* webaudio/BiquadFilter/test-tail-time.js: Added.
(testTailTime):
* webaudio/BiquadFilter/unstable-filter-warning-expected.txt: Added.
* webaudio/BiquadFilter/unstable-filter-warning.html: Added.
* webaudio/ChannelMerger/audiochannelmerger-cycle-expected.txt: Added.
* webaudio/ChannelMerger/audiochannelmerger-cycle.html: Added.
* webaudio/Convolver/unmmodified-buffer-expected.txt: Copied from LayoutTests/webaudio/convolvernode-unmodified-buffer-expected.txt.
* webaudio/Convolver/unmmodified-buffer.html: Renamed from LayoutTests/webaudio/convolvernode-unmodified-buffer.html.
* webaudio/DynamicsCompressor/dynamicscompressor-clear-internal-state-expected.txt: Added.
* webaudio/DynamicsCompressor/dynamicscompressor-clear-internal-state.html: Added.
* webaudio/DynamicsCompressor/dynamicscompressor-simple-expected.txt: Added.
* webaudio/DynamicsCompressor/dynamicscompressor-simple.html: Added.
* webaudio/IIRFilter/iir-tail-time-expected.txt: Added.
* webaudio/IIRFilter/iir-tail-time.html: Added.
* webaudio/IIRFilter/iir-unstable-expected.txt: Added.
* webaudio/IIRFilter/iir-unstable.html: Added.
* webaudio/IIRFilter/unstable-filter-warning-expected.txt: Added.
* webaudio/IIRFilter/unstable-filter-warning.html: Added.
* webaudio/MediaElementAudioSource/mediaelementaudiosourcenode-expected.txt: Added.
* webaudio/MediaElementAudioSource/mediaelementaudiosourcenode.html: Added.
* webaudio/MediaElementAudioSource/resampling-crash-expected.txt: Added.
* webaudio/MediaElementAudioSource/resampling-crash.html: Added.
* webaudio/MediaStreamAudioDestination/create-in-destroyed-context-expected.txt: Added.
* webaudio/MediaStreamAudioDestination/create-in-destroyed-context.html: Added.
* webaudio/MediaStreamAudioDestination/mediastreamaudiodestinationnode-expected.txt: Added.
* webaudio/MediaStreamAudioDestination/mediastreamaudiodestinationnode.html: Added.
* webaudio/MediaStreamAudioSource/ctor-mediastreamaudiosource-expected.txt: Added.
* webaudio/MediaStreamAudioSource/ctor-mediastreamaudiosource.html: Added.
* webaudio/MediaStreamAudioSource/mediastreamaudiosourcenode-expected.txt: Added.
* webaudio/MediaStreamAudioSource/mediastreamaudiosourcenode.html: Added.
* webaudio/OfflineAudioContext/offlineaudiocontext-constructor-expected.txt: Added.
* webaudio/OfflineAudioContext/offlineaudiocontext-constructor.html: Added.
* webaudio/OfflineAudioContext/offlineaudiocontext-event-listener-gc-expected.txt: Added.
* webaudio/OfflineAudioContext/offlineaudiocontext-event-listener-gc.html: Added.
* webaudio/OfflineAudioContext/offlineaudiocontext-promise-basic-expected.txt: Added.
* webaudio/OfflineAudioContext/offlineaudiocontext-promise-basic.html: Added.
* webaudio/OfflineAudioContext/offlineaudiocontext-promise-expected.txt: Copied from LayoutTests/webaudio/convolvernode-unmodified-buffer-expected.txt.
* webaudio/OfflineAudioContext/offlineaudiocontext-promise.html: Added.
* webaudio/OfflineAudioContext/offlineaudiocontext-suspend-resume-basic-expected.txt: Renamed from LayoutTests/webaudio/offlineaudiocontext-suspend-resume-basic-expected.txt.
* webaudio/OfflineAudioContext/offlineaudiocontext-suspend-resume-basic.html: Renamed from LayoutTests/webaudio/offlineaudiocontext-suspend-resume-basic.html.
* webaudio/OfflineAudioContext/offlineaudiocontext-suspend-resume-eventhandler-expected.txt: Renamed from LayoutTests/webaudio/offlineaudiocontext-suspend-resume-eventhandler-expected.txt.
* webaudio/OfflineAudioContext/offlineaudiocontext-suspend-resume-eventhandler.html: Renamed from LayoutTests/webaudio/offlineaudiocontext-suspend-resume-eventhandler.html.
* webaudio/OfflineAudioContext/offlineaudiocontext-suspend-resume-graph-manipulation-expected.txt: Renamed from LayoutTests/webaudio/offlineaudiocontext-suspend-resume-graph-manipulation-expected.txt.
* webaudio/OfflineAudioContext/offlineaudiocontext-suspend-resume-graph-manipulation.html: Renamed from LayoutTests/webaudio/offlineaudiocontext-suspend-resume-graph-manipulation.html.
* webaudio/OfflineAudioContext/offlineaudiocontext-suspend-resume-promise-expected.txt: Renamed from LayoutTests/webaudio/offlineaudiocontext-suspend-resume-promise-expected.txt.
* webaudio/OfflineAudioContext/offlineaudiocontext-suspend-resume-promise.html: Renamed from LayoutTests/webaudio/offlineaudiocontext-suspend-resume-promise.html.
* webaudio/OfflineAudioContext/offlineaudiocontext-suspend-resume-sequence-expected.txt: Renamed from LayoutTests/webaudio/offlineaudiocontext-suspend-resume-sequence-expected.txt.
* webaudio/OfflineAudioContext/offlineaudiocontext-suspend-resume-sequence.html: Renamed from LayoutTests/webaudio/offlineaudiocontext-suspend-resume-sequence.html.
* webaudio/OfflineAudioContext/offlineaudiocontext-thread-smoke-test-expected.txt: Added.
* webaudio/OfflineAudioContext/offlineaudiocontext-thread-smoke-test.html: Added.
* webaudio/OfflineAudioContext/onstatechange-expected.txt: Added.
* webaudio/OfflineAudioContext/onstatechange.html: Added.
* webaudio/Panner/hrtf-database-expected.txt: Added.
* webaudio/Panner/hrtf-database.html: Added.
* webaudio/Panner/panner-loop-expected.txt: Copied from LayoutTests/webaudio/convolvernode-unmodified-buffer-expected.txt.
* webaudio/Panner/panner-loop.html: Added.
* webaudio/Panner/panner-set-position-expected.txt: Added.
* webaudio/Panner/panner-set-position.html: Added.
* webaudio/PeriodicWave/ctor-periodicwave-expected.txt: Added.
* webaudio/PeriodicWave/ctor-periodicwave.html: Added.
* webaudio/PeriodicWave/periodicwave-contexts-expected.txt: Added.
* webaudio/PeriodicWave/periodicwave-contexts.html: Added.
* webaudio/PeriodicWave/periodicwave-exceptions-expected.txt: Added.
* webaudio/PeriodicWave/periodicwave-exceptions.html: Added.
* webaudio/PeriodicWave/periodicwave-lengths-expected.txt: Added.
* webaudio/PeriodicWave/periodicwave-lengths.html: Added.
* webaudio/PeriodicWave/periodicwave-normalization-expected.txt: Added.
* webaudio/PeriodicWave/periodicwave-normalization.html: Added.
* webaudio/ScriptProcessor/scriptprocessor-offlineaudiocontext-expected.txt: Added.
* webaudio/ScriptProcessor/scriptprocessor-offlineaudiocontext.html: Added.
* webaudio/ScriptProcessor/scriptprocessornode-0-output-channels-expected.txt: Added.
* webaudio/ScriptProcessor/scriptprocessornode-0-output-channels.html: Added.
* webaudio/ScriptProcessor/scriptprocessornode-downmix8-2channel-input-expected.txt: Added.
* webaudio/ScriptProcessor/scriptprocessornode-downmix8-2channel-input.html: Added.
* webaudio/ScriptProcessor/scriptprocessornode-expected.txt: Added.
* webaudio/ScriptProcessor/scriptprocessornode-upmix2-8channel-input-expected.txt: Added.
* webaudio/ScriptProcessor/scriptprocessornode-upmix2-8channel-input.html: Added.
* webaudio/ScriptProcessor/scriptprocessornode-zero-input-channels-expected.txt: Added.
* webaudio/ScriptProcessor/scriptprocessornode-zero-input-channels.html: Added.
* webaudio/ScriptProcessor/scriptprocessornode.html: Added.
* webaudio/WaveShaper/waveshaper-364379-expected.txt: Added.
* webaudio/WaveShaper/waveshaper-364379.html: Added.
* webaudio/WaveShaper/waveshaper-oversample-2x-expected.txt: Copied from LayoutTests/webaudio/convolvernode-unmodified-buffer-expected.txt.
* webaudio/WaveShaper/waveshaper-oversample-2x.html: Added.
* webaudio/WaveShaper/waveshaper-oversample-4x-expected.txt: Renamed from LayoutTests/webaudio/convolvernode-unmodified-buffer-expected.txt.
* webaudio/WaveShaper/waveshaper-oversample-4x.html: Added.
* webaudio/audio-scheduled-source-basic-expected.txt: Added.
* webaudio/audio-scheduled-source-basic.html: Added.
* webaudio/javascriptaudionode-downmix8-2channel-input-expected.txt: Removed.
* webaudio/javascriptaudionode-downmix8-2channel-input.html: Removed.
* webaudio/javascriptaudionode-expected.txt: Removed.
* webaudio/javascriptaudionode-upmix2-8channel-input-expected.txt: Removed.
* webaudio/javascriptaudionode-upmix2-8channel-input.html: Removed.
* webaudio/javascriptaudionode-zero-input-channels-expected.txt: Removed.
* webaudio/javascriptaudionode-zero-input-channels.html: Removed.
* webaudio/javascriptaudionode.html: Removed.
* webaudio/mediastreamaudiodestinationnode-expected.txt: Removed.
* webaudio/mediastreamaudiodestinationnode.html: Removed.
* webaudio/mediastreamaudiosourcenode-expected.txt: Removed.
* webaudio/mediastreamaudiosourcenode.html: Removed.
* webaudio/offlineaudiocontext-constructor-expected.txt: Removed.
* webaudio/offlineaudiocontext-constructor.html: Removed.
* webaudio/panner-loop-expected.txt: Removed.
* webaudio/panner-loop.html: Removed.
* webaudio/periodicwave-lengths-expected.txt: Removed.
* webaudio/periodicwave-lengths.html: Removed.
* webaudio/resources/audionodeoptions.js: Added.
(testAudioNodeOptions):
(initializeContext):
(testInvalidConstructor):
(testDefaultConstructor):
(testDefaultAttributes):
* webaudio/resources/biquad-filters.js: Added.
(createLowpassFilter):
(createHighpassFilter):
(normalizeFilterCoefficients):
(createBandpassFilter):
(createLowShelfFilter):
(createHighShelfFilter):
(createPeakingFilter):
(createNotchFilter):
(createAllpassFilter):
(filterData):
(createFilter):
* webaudio/resources/hrtf/Composite.flac: Added.
* webaudio/resources/hrtf/Composite.wav: Added.
* webaudio/resources/hrtf/README: Added.
* webaudio/resources/scriptprocessornode-testing-audit.js: Added.
(createBuffer):
(processAudioData):
(fillData):
(checkStereoOnlyData):
(runJSNodeTest):
* webaudio/resources/scriptprocessornode-testing.js: Added.
(createBuffer):
(processAudioData):
(fillData):
(checkStereoOnlyData):
(runJSNodeTest):
* webaudio/resources/waveshaper-testing.js:
(T0):
(T1):
(T2):
(T3):
(T4):
(generateWaveShapingCurve):
(checkShapedCurve):
(createImpulseBuffer):
(runWaveShaperOversamplingTest):
* webaudio/waveshaper-oversample-2x-expected.txt: Removed.
* webaudio/waveshaper-oversample-2x.html: Removed.
* webaudio/waveshaper-oversample-4x-expected.txt: Removed.
* webaudio/waveshaper-oversample-4x.html: Removed.
Canonical link: https://commits.webkit.org/229531@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267307 268f45cc-cd09-0410-ab3c-d52691b4dbfc1 parent 9faaadb commit 90c8aed
139 files changed
Lines changed: 7240 additions & 980 deletions
File tree
- LayoutTests
- platform
- glib
- mac
- webaudio
- BiquadFilter
- ChannelMerger
- Convolver
- DynamicsCompressor
- IIRFilter
- MediaElementAudioSource
- MediaStreamAudioDestination
- MediaStreamAudioSource
- OfflineAudioContext
- Panner
- PeriodicWave
- ScriptProcessor
- WaveShaper
- resources
- hrtf
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
1 | 183 | | |
2 | 184 | | |
3 | 185 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
323 | 326 | | |
324 | 327 | | |
325 | 328 | | |
| |||
1010 | 1013 | | |
1011 | 1014 | | |
1012 | 1015 | | |
1013 | | - | |
1014 | | - | |
1015 | | - | |
1016 | | - | |
1017 | | - | |
1018 | | - | |
1019 | 1016 | | |
1020 | 1017 | | |
1021 | 1018 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
271 | | - | |
272 | 271 | | |
273 | 272 | | |
274 | 273 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
468 | 468 | | |
469 | 469 | | |
470 | 470 | | |
471 | | - | |
472 | 471 | | |
473 | 472 | | |
474 | 473 | | |
| |||
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
0 commit comments