[wpt-sync] Sync PR 16368 - Fix flakiness in audioworklet-suspend.https.html
Categories
(Core :: Web Audio, defect, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox69 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 16368 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/16368
Details from upstream follow.
Hongchan Choi <hongchan@chromium.org> wrote:
Fix flakiness in audioworklet-suspend.https.html
It is because the actual suspension takes time to stop the render loop
completely. So the current time advances a little after the suspension
and the assertion that compares two timestamps fails.This CL fixes the problem by:
- Suspend the context immediately after its creation.
- Cache timestamp A after the worklet module loading is completed.
- Check timestamp B after 500ms. If the context is not suspended
(which is the original bug), two timestamps A and B won't match.Bug: 953332
Test: external/wpt/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-suspend.https.html
Change-Id: I3fc4ccf78ec9c137128f8605d502692be303b02e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1570129
Reviewed-by: Raymond Toy \<rtoy@chromium.org>
Reviewed-by: Robert Ma \<robertma@chromium.org>
Commit-Queue: Hongchan Choi \<hongchan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#651437}
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
PR 16368 applied with additional changes from upstream: 81d09351b7bd61a270d58059aba662f17fec536a
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 2•5 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=07ece3cf20cfac9af5b52066f89d4dc85ce4ed6d
Assignee | ||
Comment 3•5 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=51b7af60a6f5392395c1f944c8a313570904f137
Assignee | ||
Comment 4•5 years ago
|
||
Failed to get results from try push
Pushed by james@hoppipolla.co.uk: https://hg.mozilla.org/integration/mozilla-inbound/rev/bdbb5a9c6dc3 [wpt PR 16368] - Fix flakiness in audioworklet-suspend.https.html, a=testonly
Comment 6•5 years ago
|
||
bugherder |
Description
•