[wpt-sync] Sync PR 63167 - [wdspec] Fix worker subtests in script.realmDestroyed WPT
Categories
(Remote Protocol :: WebDriver BiDi, task, P4)
Tracking
(firefox160 fixed)
| Tracking | Status | |
|---|---|---|
| firefox160 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 63167 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63167
Details from upstream follow.
Maksim Sadym <sadym@chromium.org> wrote:
[wdspec] Fix worker subtests in script.realmDestroyed WPT
- Fix the dedicated and shared worker subtests in the
script.realmDestroyed WPT suite and prevent duplicate
script.realmDestroyed events when worker targets crash or close.- Previously, the dedicated worker subtests terminated workers via a
100ms timer that raced with CDP worker target initialization, while
the shared worker subtest navigated away and left the worker frozen
in BFCache; additionally, CdpTargetManager disposed crashed worker
realms without removing them from storage, causing a duplicate
script.realmDestroyed event on target detach.- Wait for script.realmCreated before terminating dedicated workers,
close the tab in test_shared_worker to bypass BFCache, and call
deleteRealms in CdpTargetManager.#handleTargetCrashedEvent.Bug: 411416746, 324436866
Cq-Include-Trybots: luci.chromium.try:linux-webdriver-bidi-rel
Include-Ci-Only-Tests: chromium.linux:Linux Tests|webdriver_wpt_tests
Change-Id: I36c8f7f1086adc137ebb2c7e2a85995143f08a1e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8497210
Reviewed-by: Alex Rudenko \<alexrudenko@chromium.org>
Commit-Queue: Alex Rudenko \<alexrudenko@chromium.org>
Auto-Submit: Maksim Sadym \<sadym@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1708855}
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=99315
| Assignee | ||
Comment 2•1 month ago
|
||
Try push failed to land: Lando job 99315 for the try push is FAILED:
Unexpected error while pushing to try.
hg error in cmd: hg push -r tip ssh://hg.mozilla.org/try -f: pushing to ssh://hg.mozilla.org/try
remote: Connection closed by 63.245.208.203 port 22
abort: no suitable response from remote hg
| Assignee | ||
Comment 3•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=99435
| Assignee | ||
Comment 4•1 month ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 16 subtests
Status Summary
Firefox
OK : 1
PASS : 15[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 16[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt, GitHub]
Chrome
OK : 1
PASS : 15
FAIL : 1
Safari
OK : 1
ERROR: 16
Description
•