github web-platform-tests/wpt merge_pr_48509

latest releases: merge_pr_49470, epochs/three_hourly/2024-12-03_06H, epochs/six_hourly/2024-12-03_06H...
11 months ago

[WebAudio]Re-Enable test of processing-after-resume test

The test often failed with different currentTime on audioContext and worklet.
It is due to currentTime is captured for the worklet is made during
its startup where it is always 0, meanwhile audioContext's
is captured after its startup with running state.

This fix consists in executing the test asserts after the
AudioContext has been suspended for the first time. This ensures
that the worklet's reported currentTime during its own
initialization will also match the AudioContext's currentTime.

Bug:40246707

Change-Id: I33403bdcd78918e61a462c2a0b1ec4d99f6b9562
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5906880
Reviewed-by: Michael Wilson mjwilson@chromium.org
Commit-Queue: Sunggook Chue sunggch@microsoft.com
Reviewed-by: Gabriel Brito gabrielbrito@microsoft.com
Cr-Commit-Position: refs/heads/main@{#1365266}

Don't miss a new wpt release

NewReleases is sending notifications on new releases.