network.continueRequest does not support multiple values for the same header name
Categories
(Remote Protocol :: WebDriver BiDi, defect, P2)
Tracking
(firefox129 fixed)
Tracking | Status | |
---|---|---|
firefox129 | --- | fixed |
People
(Reporter: jdescottes, Assigned: jdescottes)
References
(Blocks 1 open bug)
Details
(Whiteboard: [webdriver:m11][wptsync upstream][webdriver:relnote])
Attachments
(2 files)
The BiDi spec for continueRequest does not restrict headers to a single value per name.
It should be possible to set multiple values for a single header name.
Technically setting nameA:value1
+ nameA:value2
is equivalent to nameA:value1, value2
, so we should support that.
At the moment Firefox will only set nameA:value2
Assignee | ||
Comment 1•3 months ago
|
||
Updated•3 months ago
|
Assignee | ||
Comment 2•3 months ago
|
||
I spotted this issue while looking at puppeteer tests for provideResponse. I used merge=false when calling the APIs to setRequestHeaders for network.continueRequest, but in theory we should support multiple header values.
Assignee | ||
Comment 3•3 months ago
|
||
Depends on D214730
Assignee | ||
Updated•3 months ago
|
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/42e5bcd525ef [bidi] Support setting multiple values for single header name in continueRequest r=webdriver-reviewers,whimboo https://hg.mozilla.org/integration/autoland/rev/192ebf2a6aff [wdspec] Add test for multiple header values with bidi network.continueRequest r=webdriver-reviewers,whimboo
Comment 5•3 months ago
|
||
Backed out for causing failures in cookies.py
- Backout link
- Push with failures
- Failure Log
- Failure line: TEST-UNEXPECTED-FAIL | /webdriver/tests/bidi/network/continue_request/cookies.py | test_override_modified_header_cookies - AssertionError
Assignee | ||
Comment 6•3 months ago
|
||
For scenarios where we have both a cookie header and cookies parameters we actually should NOT merge.
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a7726ece8e7f [bidi] Support setting multiple values for single header name in continueRequest r=webdriver-reviewers,whimboo https://hg.mozilla.org/integration/autoland/rev/d08a4c993db0 [wdspec] Add test for multiple header values with bidi network.continueRequest r=webdriver-reviewers,whimboo
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/46912 for changes under testing/web-platform/tests
Comment 9•3 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a7726ece8e7f
https://hg.mozilla.org/mozilla-central/rev/d08a4c993db0
Upstream PR merged by moz-wptsync-bot
Upstream PR merged by moz-wptsync-bot
Updated•1 month ago
|
Description
•