[wpt-sync] Sync PR 63963 - [Cookies] Port legacy path0015-test to WPT path-redirect.html
Categories
(Core :: Networking: Cookies, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 63963 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63963
Details from upstream follow.
selya <selya@chromium.org> wrote:
[Cookies] Port legacy path0015-test to WPT path-redirect.html
When httpRedirectCookieTest redirects to a directory path ending in '/',
wptserve's DirectoryHandler returns an auto-generated directory listing
page that does not include path-redirect-shared.js. Update
getAndExpireCookiesForRedirectTest() to read document.cookie from the
same-origin iframe and expire cookies directly when
path-redirect-shared.js is not loaded.Add test=18 to cookies/attributes/path-redirect.html to cover an exact
redirected path match with a trailing '/'.Bug: 40162492
Change-Id: Ic87541dbbc78dc425f30ab3012c9ffc59c1051ea
Reviewed-on: https://chromium-review.googlesource.com/8594141
WPT-Export-Revision: 2ada074872f2433f493656fc9199f2900a0e580b
| 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=109514
| 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 18 tests and 6 subtests
Status Summary
Firefox
OK : 14[GitHub] 18[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-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 745[GitHub] 845[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-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 27
Chrome
OK : 14
PASS: 754
FAIL: 18
Safari
OK : 14
PASS: 719
FAIL: 53
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /cookies/attributes/attributes-ctl.sub.html [wpt.fyi]
- Cookie with %x9 after Secure attribute is handled correctly.:
FAIL(Chrome:FAIL, Safari:FAIL)
- Cookie with %x9 after Secure attribute is handled correctly.:
- /cookies/value/value-ctl.html [wpt.fyi]
- Cookie with %xa in name is rejected or modified (HTTP).:
FAIL(Chrome:FAIL, Safari:FAIL) - Cookie with %xd in name is rejected or modified (HTTP).:
FAIL(Chrome:FAIL, Safari:PASS)
- Cookie with %xa in name is rejected or modified (HTTP).:
- /cookies/value/value.html [wpt.fyi]
- Set nameless cookie to its value:
FAIL(Chrome:PASS, Safari:FAIL) - Set nameless cookie to its value with an escaped quote:
FAIL(Chrome:PASS, Safari:FAIL) - Set nameless cookie followed by '=' to its value:
FAIL(Chrome:PASS, Safari:FAIL) - Set a nameless cookie with a space character in the value:
FAIL(Chrome:PASS, Safari:FAIL)
- Set nameless cookie to its value:
- /cookies/attributes/invalid.html [wpt.fyi]
- Ignore
Set-Cookie: =with otherSet-Cookieheaders:FAIL(Chrome:PASS, Safari:FAIL) - Ignore name- and value-less
Set-Cookie: ; bar:FAIL(Chrome:PASS, Safari:FAIL) - Ignore name- and value-less
Set-Cookie::FAIL(Chrome:PASS, Safari:FAIL) - Ignore name- and value-less
Set-Cookie: \t:FAIL(Chrome:PASS, Safari:FAIL)
- Ignore
- /cookies/attributes/max-age.html [wpt.fyi]
- Set multiple cookies with valid max-age values:
FAIL(Chrome:PASS, Safari:FAIL)
- Set multiple cookies with valid max-age values:
- /cookies/name/name-ctl.html [wpt.fyi]
- Cookie with %xa in name is rejected or modified (HTTP).:
FAIL(Chrome:FAIL, Safari:FAIL) - Cookie with %xd in name is rejected or modified (HTTP).:
FAIL(Chrome:FAIL, Safari:PASS)
- Cookie with %xa in name is rejected or modified (HTTP).:
- /cookies/name/name.html [wpt.fyi]
- Set a nameless cookie (that has an = in its value):
FAIL(Chrome:FAIL, Safari:FAIL) - Set a nameless cookie (that has multiple ='s in its value):
FAIL(Chrome:FAIL, Safari:FAIL) - Set a nameless cookie:
FAIL(Chrome:PASS, Safari:FAIL) - Ignore invalid attributes after nameless cookie:
FAIL(Chrome:PASS, Safari:FAIL) - Set a nameless cookie ignoring characters after first ;:
FAIL(Chrome:PASS, Safari:FAIL) - Set a nameless cookie ignoring characters after first ; (2):
FAIL(Chrome:PASS, Safari:FAIL) - Return the most recent nameless cookie:
FAIL(Chrome:PASS, Safari:FAIL) - Return the most recent nameless cookie, without leading =:
FAIL(Chrome:PASS, Safari:FAIL) - Return the most recent nameless cookie, even if preceded by =:
FAIL(Chrome:PASS, Safari:FAIL) - Return the most recent nameless cookie, even if preceded by =, in addition to other valid cookie:
FAIL(Chrome:PASS, Safari:FAIL) - Set nameless cookie, given
Set-Cookie: =test16:FAIL(Chrome:PASS, Safari:FAIL) - Overwrite nameless cookie:
FAIL(Chrome:PASS, Safari:FAIL)
- Set a nameless cookie (that has an = in its value):
- /cookies/size/name-and-value.html [wpt.fyi]
- Set max-size name-less cookie:
FAIL(Chrome:PASS, Safari:FAIL)
- Set max-size name-less cookie:
Comment 4•24 days ago
|
||
| bugherder | ||
Description
•