Closed Bug 2076784 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 63104 - [chromium-bidi] Include request cookies and headers when paused

Categories

(Remote Protocol :: WebDriver BiDi, task, P4)

task

Tracking

(firefox159 fixed)

RESOLVED FIXED
159 Branch
Tracking Status
firefox159 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 63104 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/63104
Details from upstream follow.

Maksim Sadym <sadym@chromium.org> wrote:

[chromium-bidi] Include request cookies and headers when paused

  • Include the Cookie header and associated request cookies in
    network.beforeRequestSent events when a request is intercepted, and
    add WPT and E2E test coverage.
  • When a request is paused in the beforeRequestSent phase via
    Fetch.requestPaused, Chromium only emits
    Network.requestWillBeSentExtraInfo after Fetch.continueRequest is
    called, leaving request.cookies empty and omitting
    Fetch.requestPaused headers.
  • Merge Fetch.requestPaused headers into #requestHeaders and query
    Network.getCookies filtered by the paused Cookie header.

Bug: 480081339
Cq-Include-Trybots: luci.chromium.try:linux-webdriver-bidi-rel
Include-Ci-Only-Tests: chromium.linux:Linux Tests|webdriver_wpt_tests
Change-Id: I06e1edc165c686ad2f77132e9a38355a5f8c8b1c
Reviewed-on: https://chromium-review.googlesource.com/8482134
WPT-Export-Revision: a1fc738fcb5ec50721af2d3dab80f2fe6a9e94ab

Component: web-platform-tests → WebDriver BiDi
Product: Testing → Remote Protocol

CI Results

Ran 10 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 4 tests and 2 subtests

Status Summary

Firefox

OK : 1[GitHub] 4[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-debug-isolated-process-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 : 26[GitHub] 35[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-debug-isolated-process-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 36[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

TIMEOUT: 1

Safari

OK : 1
ERROR : 26

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/b5ee836e35f2 https://hg.mozilla.org/integration/autoland/rev/1510a32189cc [wpt PR 63104] - [chromium-bidi] Include request cookies and headers when paused, a=testonly
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 159 Branch
You need to log in before you can comment on or make changes to this bug.