gecko-dev/testing/web-platform/tests/webaudio/resources
Hongchan Choi a7b84defe2 Bug 1545644 [wpt PR 16303] - Do not resume a suspended BaseAudioContext when AudioWorklet starts, a=testonly
Automatic update from web-platform-tests
Do not resume a suspended BaseAudioContext when AudioWorklet starts

When AudioWorklet.addModule() activates the worklet thread, it
re-starts the destination handler even when the context is suspended.
This CL fixes the bug by restarting destination only when the context
is in the "running" state.

Bug: 950997
Test: external/wpt/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-suspend.https.html
Change-Id: I0b44e3fca23bd069fac21f709fc665e8eacc4dd3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1560140
Commit-Queue: Hongchan Choi <hongchan@chromium.org>
Reviewed-by: Raymond Toy <rtoy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#649303}

--

wpt-commits: 81d09351b7bd61a270d58059aba662f17fec536a
wpt-pr: 16303
2019-06-05 10:26:14 +01:00
..
4ch-440.wav
audio-param.js
audiobuffersource-testing.js
audionodeoptions.js
audioparam-testing.js
audit-util.js
audit.js
biquad-filters.js
biquad-testing.js
convolution-testing.js
delay-testing.js
distance-model-testing.js
merger-testing.js
mix-testing.js
mixing-rules.js
note-grain-on-testing.js
panner-formulas.js
panner-model-testing.js
sin_440Hz_-6dBFS_1s.wav
start-stop-exceptions.js
stereopanner-testing.js