[wpt-sync] Sync PR 39414 - Dispatch page visibility change async when script execution is possible
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox114 fixed)
Tracking | Status | |
---|---|---|
firefox114 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 39414 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/39414
Details from upstream follow.
Andrey Kosyakov <caseq@chromium.org> wrote:
Dispatch page visibility change async when script execution is possible
- disable scripts when dispatching PageVisibilityChanged, as a script
may cause a mutation of the observer set being iterated;- defer wake lock release upon page becoming hidden;
- defer gamepad events dispatch upon page becoming visible.
Bug: 1348019
Change-Id: I031a2465431e440f8521a4b5a6d706fa71623938
Reviewed-on: https://chromium-review.googlesource.com/4403615
WPT-Export-Revision: f37f4a68e7f547a7e58d89383d8de97b4dac5dc3
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 1 subtests
Status Summary
Firefox
OK
: 1
FAIL
: 1
Chrome
CRASH
: 1
Safari
OK
: 1
FAIL
: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /screen-wake-lock/chrome-bug-1348019.https.html [wpt.fyi]
- Appending iframe in release event listener does not cause a crash when page visibility changes:
FAIL
(Safari:FAIL
)
- Appending iframe in release event listener does not cause a crash when page visibility changes:
Comment 4•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/74b0fb5cac4d
https://hg.mozilla.org/mozilla-central/rev/acde6272be88
Description
•