[wpt-sync] Sync PR 64239 - [chromium-bidi] Fix lost channel messages sent right before navigation
Categories
(Remote Protocol :: WebDriver BiDi, task, P4)
Tracking
(firefox162 fixed)
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 64239 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/64239
Details from upstream follow.
Maksim Sadym <sadym@chromium.org> wrote:
[chromium-bidi] Fix lost channel messages sent right before navigation
- Deliver all
script.messageevents when a page sends multiple channel messages in the same task right before navigating away.- Previously,
ChannelProxykept only oneRuntime.callFunctionOngetMessagerequest in flight at a time, so a second message queued right before navigation was lost when the execution context was destroyed before the next poll arrived.- Pipeline multiple pending
getMessagerequests and track waiting resolvers in a FIFO queue so back-to-back messages resolve in-flight CDP calls before navigation commits.Bug: 572278423
Cq-Include-Trybots: luci.chromium.try:linux-webdriver-bidi-rel
Include-Ci-Only-Tests: chromium.linux:Linux Tests|webdriver_wpt_tests
Change-Id: I8c6e5d237a07a58b52d29854858358ca612d1eee
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8575201
Commit-Queue: Nikolay Vitkov <nvitkov@chromium.org>
Reviewed-by: Nikolay Vitkov <nvitkov@chromium.org>
Auto-Submit: Maksim Sadym <sadym@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1719624}
Changes from original: #63673 appended two new tests after
test_two_channelsto the file first.
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•1 month ago
|
Updated•28 days ago
|
| Assignee | ||
Updated•26 days ago
|
| Assignee | ||
Updated•26 days ago
|
| Assignee | ||
Updated•25 days ago
|
| Assignee | ||
Updated•25 days ago
|
| Assignee | ||
Updated•25 days ago
|
| Assignee | ||
Comment 1•25 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=115055
| Assignee | ||
Updated•25 days ago
|
| Assignee | ||
Updated•25 days ago
|
| Assignee | ||
Comment 2•25 days ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 7 tests and 4 subtests
Status Summary
Firefox
OK : 1[GitHub] 7[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, 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]
PASS : 9[GitHub] 114[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] 125[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]
Chrome
OK : 1
PASS : 9
Safari
OK : 1
ERROR: 9
Links
Comment 4•19 days ago
|
||
| bugherder | ||
Description
•