Many WebAudio js-tests use waitUntilDone
authorap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 22 May 2017 20:49:12 +0000 (20:49 +0000)
committerap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 22 May 2017 20:49:12 +0000 (20:49 +0000)
commit1523e3458c82c833bdcf1742755e6f0a12d6ef3a
treed2b57341b520dc32b16f2ff77dddd5b9b3b05de4
parentddc848b4e77a3e1ec9c719b61f76ae5b47ffd72c
Many WebAudio js-tests use waitUntilDone
https://bugs.webkit.org/show_bug.cgi?id=172398

Reviewed by Sam Weinig.

Corrected the use of js-test harness, updated the tests to use js-test.js instead
of js-test-pre.js where possible.

* resources/js-test.js: (shouldReject): Copied some funcitonality form js-test-pre.js
that wasn't present here.

* webaudio/analyser-exception.html:
* webaudio/audiobuffer-neuter-expected.txt:
* webaudio/audiobuffer-neuter.html:
* webaudio/audiobuffersource-channels.html:
* webaudio/audiobuffersource-ended-expected.txt:
* webaudio/audiobuffersource-ended.html:
* webaudio/audiobuffersource-exception.html:
* webaudio/audiobuffersource-loop-comprehensive-expected.txt:
* webaudio/audiobuffersource-loop-comprehensive.html:
* webaudio/audiobuffersource-negative-playbackrate-expected.txt:
* webaudio/audiobuffersource-negative-playbackrate-interpolated-expected.txt:
* webaudio/audiobuffersource-negative-playbackrate-interpolated-loop-expected.txt:
* webaudio/audiobuffersource-negative-playbackrate-interpolated-loop.html:
* webaudio/audiobuffersource-negative-playbackrate-interpolated.html:
* webaudio/audiobuffersource-negative-playbackrate-loop-expected.txt:
* webaudio/audiobuffersource-negative-playbackrate-loop.html:
* webaudio/audiobuffersource-negative-playbackrate.html:
* webaudio/audiobuffersource-playbackState.html:
* webaudio/audiobuffersource-start-expected.txt:
* webaudio/audiobuffersource-start.html:
* webaudio/audiochannelmerger-basic.html:
* webaudio/audiochannelmerger-stereo.html:
* webaudio/audiochannelsplitter.html:
* webaudio/audiocontext-promise-throwing.html:
* webaudio/audiocontext-promise.html:
* webaudio/audiocontext-restriction-audiobuffersourcenode-start.html:
* webaudio/audiocontext-restriction.html:
* webaudio/audiocontext-state-interrupted.html:
* webaudio/audiocontext-state.html:
* webaudio/audionode-channel-rules.html:
* webaudio/audionode-connect-order.html:
* webaudio/audionode.html:
* webaudio/audioparam-connect-audioratesignal.html:
* webaudio/audioparam-summingjunction.html:
* webaudio/audioprocessingevent.html:
* webaudio/automatic-pull-node.html:
* webaudio/biquad-allpass.html:
* webaudio/biquad-bandpass.html:
* webaudio/biquad-getFrequencyResponse.html:
* webaudio/biquad-highpass.html:
* webaudio/biquad-highshelf.html:
* webaudio/biquad-lowpass.html:
* webaudio/biquad-lowshelf.html:
* webaudio/biquad-notch.html:
* webaudio/biquad-peaking.html:
* webaudio/biquadfilternode-basic.html:
* webaudio/convolution-mono-mono.html:
* webaudio/decode-audio-data-basic.html:
* webaudio/decode-audio-data-too-short.html:
* webaudio/delaynode-max-default-delay.html:
* webaudio/delaynode-max-nondefault-delay.html:
* webaudio/delaynode-maxdelay.html:
* webaudio/delaynode-maxdelaylimit.html:
* webaudio/delaynode-scheduling.html:
* webaudio/delaynode.html:
* webaudio/distance-exponential.html:
* webaudio/distance-inverse.html:
* webaudio/distance-linear.html:
* webaudio/dynamicscompressor-basic.html:
* webaudio/javascriptaudionode-downmix8-2channel-input.html:
* webaudio/javascriptaudionode-upmix2-8channel-input.html:
* webaudio/javascriptaudionode-zero-input-channels.html:
* webaudio/javascriptaudionode.html:
* webaudio/mediaelementaudiosourcenode.html:
* webaudio/oscillator-basic.html:
* webaudio/oscillator-ended-expected.txt:
* webaudio/oscillator-ended.html:
* webaudio/page-canstartmedia.html:
* webaudio/panner-equalpower-stereo.html:
* webaudio/panner-equalpower.html:
* webaudio/panner-loop.html:
* webaudio/pannernode-basic.html:
* webaudio/realtimeanalyser-fft-scaling.html:
* webaudio/realtimeanalyser-fft-sizing.html:
* webaudio/resources/audiobuffersource-testing.js:
(checkAllTests):
* webaudio/sample-accurate-scheduling.html:
* webaudio/stereo2mono-down-mixing.html:
* webaudio/test-basic.html:
* webaudio/waveshaper.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217243 268f45cc-cd09-0410-ab3c-d52691b4dbfc
81 files changed:
LayoutTests/ChangeLog
LayoutTests/resources/js-test.js
LayoutTests/webaudio/analyser-exception.html
LayoutTests/webaudio/audiobuffer-neuter-expected.txt
LayoutTests/webaudio/audiobuffer-neuter.html
LayoutTests/webaudio/audiobuffersource-channels.html
LayoutTests/webaudio/audiobuffersource-ended-expected.txt
LayoutTests/webaudio/audiobuffersource-ended.html
LayoutTests/webaudio/audiobuffersource-exception.html
LayoutTests/webaudio/audiobuffersource-loop-comprehensive-expected.txt
LayoutTests/webaudio/audiobuffersource-loop-comprehensive.html
LayoutTests/webaudio/audiobuffersource-negative-playbackrate-expected.txt
LayoutTests/webaudio/audiobuffersource-negative-playbackrate-interpolated-expected.txt
LayoutTests/webaudio/audiobuffersource-negative-playbackrate-interpolated-loop-expected.txt
LayoutTests/webaudio/audiobuffersource-negative-playbackrate-interpolated-loop.html
LayoutTests/webaudio/audiobuffersource-negative-playbackrate-interpolated.html
LayoutTests/webaudio/audiobuffersource-negative-playbackrate-loop-expected.txt
LayoutTests/webaudio/audiobuffersource-negative-playbackrate-loop.html
LayoutTests/webaudio/audiobuffersource-negative-playbackrate.html
LayoutTests/webaudio/audiobuffersource-playbackState.html
LayoutTests/webaudio/audiobuffersource-start-expected.txt
LayoutTests/webaudio/audiobuffersource-start.html
LayoutTests/webaudio/audiochannelmerger-basic.html
LayoutTests/webaudio/audiochannelmerger-stereo.html
LayoutTests/webaudio/audiochannelsplitter.html
LayoutTests/webaudio/audiocontext-promise-throwing.html
LayoutTests/webaudio/audiocontext-promise.html
LayoutTests/webaudio/audiocontext-restriction-audiobuffersourcenode-start.html
LayoutTests/webaudio/audiocontext-restriction.html
LayoutTests/webaudio/audiocontext-state-interrupted.html
LayoutTests/webaudio/audiocontext-state.html
LayoutTests/webaudio/audionode-channel-rules.html
LayoutTests/webaudio/audionode-connect-order.html
LayoutTests/webaudio/audionode.html
LayoutTests/webaudio/audioparam-connect-audioratesignal.html
LayoutTests/webaudio/audioparam-summingjunction.html
LayoutTests/webaudio/audioprocessingevent.html
LayoutTests/webaudio/automatic-pull-node.html
LayoutTests/webaudio/biquad-allpass.html
LayoutTests/webaudio/biquad-bandpass.html
LayoutTests/webaudio/biquad-getFrequencyResponse.html
LayoutTests/webaudio/biquad-highpass.html
LayoutTests/webaudio/biquad-highshelf.html
LayoutTests/webaudio/biquad-lowpass.html
LayoutTests/webaudio/biquad-lowshelf.html
LayoutTests/webaudio/biquad-notch.html
LayoutTests/webaudio/biquad-peaking.html
LayoutTests/webaudio/biquadfilternode-basic.html
LayoutTests/webaudio/convolution-mono-mono.html
LayoutTests/webaudio/decode-audio-data-basic.html
LayoutTests/webaudio/decode-audio-data-too-short.html
LayoutTests/webaudio/delaynode-max-default-delay.html
LayoutTests/webaudio/delaynode-max-nondefault-delay.html
LayoutTests/webaudio/delaynode-maxdelay.html
LayoutTests/webaudio/delaynode-maxdelaylimit.html
LayoutTests/webaudio/delaynode-scheduling.html
LayoutTests/webaudio/delaynode.html
LayoutTests/webaudio/distance-exponential.html
LayoutTests/webaudio/distance-inverse.html
LayoutTests/webaudio/distance-linear.html
LayoutTests/webaudio/dynamicscompressor-basic.html
LayoutTests/webaudio/javascriptaudionode-downmix8-2channel-input.html
LayoutTests/webaudio/javascriptaudionode-upmix2-8channel-input.html
LayoutTests/webaudio/javascriptaudionode-zero-input-channels.html
LayoutTests/webaudio/javascriptaudionode.html
LayoutTests/webaudio/mediaelementaudiosourcenode.html
LayoutTests/webaudio/oscillator-basic.html
LayoutTests/webaudio/oscillator-ended-expected.txt
LayoutTests/webaudio/oscillator-ended.html
LayoutTests/webaudio/page-canstartmedia.html
LayoutTests/webaudio/panner-equalpower-stereo.html
LayoutTests/webaudio/panner-equalpower.html
LayoutTests/webaudio/panner-loop.html
LayoutTests/webaudio/pannernode-basic.html
LayoutTests/webaudio/realtimeanalyser-fft-scaling.html
LayoutTests/webaudio/realtimeanalyser-fft-sizing.html
LayoutTests/webaudio/resources/audiobuffersource-testing.js
LayoutTests/webaudio/sample-accurate-scheduling.html
LayoutTests/webaudio/stereo2mono-down-mixing.html
LayoutTests/webaudio/test-basic.html
LayoutTests/webaudio/waveshaper.html