Closed
Bug 2031237
Opened 1 month ago
Closed 1 month ago
[wdspec] Update continue_request/cookies.py to match the specification
Categories
(Remote Protocol :: WebDriver BiDi, task, P3)
Remote Protocol
WebDriver BiDi
Tracking
(firefox152 fixed)
RESOLVED
FIXED
152 Branch
| Tracking | Status | |
|---|---|---|
| firefox152 | --- | fixed |
People
(Reporter: jdescottes, Assigned: jdescottes)
References
()
Details
(Whiteboard: [webdriver:m20], [wptsync upstream])
Attachments
(1 file)
As discussed in https://github.com/w3c/webdriver-bidi/issues/1110, the current tests in continue_request/cookies.py don't match the specification and they expect cookies updated in network.beforeRequestSent to show up in the cookies property of later events (network.responseStarted, network.responseCompleted, ...).
We should update the test to assert the following instead:
- if a new cookie unknown to the cookie store is added, it will not be present in the
cookiesproperty - if the value of a cookie already present is modified, the value in the cookies property will not reflect the modification
- if a cookie is removed (via rewriting the header completely), the cookie will not show up in the cookies property (because in that case, the cookie is no longer included in the request)
| Assignee | ||
Updated•1 month ago
|
Points: --- → 2
Priority: -- → P3
Whiteboard: [webdriver:m20]
| Assignee | ||
Comment 1•1 month ago
|
||
Updated•1 month ago
|
Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Pushed by jdescottes@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/a6d8b35e2dd0
https://hg.mozilla.org/integration/autoland/rev/8c1a81ff6ab1
[wdspec] Update network/continue_request/cookies.py to match specification about modified cookies r=whimboo
Comment 3•1 month ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
status-firefox152:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 152 Branch
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/59604 for changes under testing/web-platform/tests
Whiteboard: [webdriver:m20] → [webdriver:m20], [wptsync upstream]
Upstream PR merged by moz-wptsync-bot
You need to log in
before you can comment on or make changes to this bug.
Description
•