[wpt-sync] Sync PR 63658 - [chromium-bidi] Fix network.getData with disown on intercepted requests
Categories
(Remote Protocol :: WebDriver BiDi, task, P4)
Tracking
(firefox160 fixed)
| Tracking | Status | |
|---|---|---|
| firefox160 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 63658 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63658
Details from upstream follow.
Maksim Sadym <sadym@chromium.org> wrote:
[chromium-bidi] Fix network.getData with disown on intercepted requests
- Keep in-flight and intercepted network requests alive when
network.getDatais called withdisown: true(or when
network.disownDatais called).- Previously, disowning the last collector unconditionally deleted the
request fromNetworkStorage, causing subsequent
network.provideResponseornetwork.continueRequestcalls on a
blocked request to fail withno such request.- Track request completion via
NetworkRequest.isFinishedand only
evict uncollected requests once they have finished or failed loading.Bug: 571267468
Cq-Include-Trybots: luci.chromium.try:linux-webdriver-bidi-rel
Include-Ci-Only-Tests: chromium.linux:Linux Tests|webdriver_wpt_tests
Change-Id: I504ef540dd6c6e2d636e4a7768237de2c885b7f7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8575161
Auto-Submit: Maksim Sadym \<sadym@chromium.org>
Reviewed-by: Nikolay Vitkov \<nvitkov@chromium.org>
Commit-Queue: Nikolay Vitkov \<nvitkov@chromium.org>
Commit-Queue: Maksim Sadym \<sadym@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1718768}
| 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=105349
| Assignee | ||
Comment 2•1 month ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 11 tests and 3 subtests
Status Summary
Firefox
OK : 2[GitHub] 11[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 : 7[GitHub] 83[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]
FAIL : 2
Chrome
OK : 2
PASS : 5
FAIL : 2
Safari
OK : 2
ERROR: 7
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /webdriver/tests/bidi/network/get_data/cached_tentative.py [wpt.fyi]
- test_cached_image:
FAIL - test_cached_stylesheet:
FAIL
- test_cached_image:
Comment 4•1 month ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/9c4db15c4970
https://hg.mozilla.org/mozilla-central/rev/5a5a7616d7c1
Description
•