[wpt-sync] Sync PR 64350 - Cookie Store API: Stop cookieStore_set_path from leaking a cookie
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox162 fixed)
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 64350 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/64350
Details from upstream follow.
Stalgia Grigg <stalgiag@igalia.com> wrote:
Cookie Store API: Stop cookieStore_set_path from leaking a cookie
The first subtest of
cookieStore_set_path.https.window.jscleans up withcookieStore.delete(), which misses the cookie in Chrome (crbug 402779102). When the directory runs in one session, the leftover cookie failshttponly_cookiesandserviceworker_cookieStore_cross_origin. This cleans up over HTTP instead (following after the set and delete argument tests) and registers the firsthttponly_cookiescleanup earlier so one failure doesn't leak into subsequent subtests.
| Assignee | ||
Updated•17 days ago
|
| Assignee | ||
Updated•15 days ago
|
| Assignee | ||
Comment 1•15 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=116209
| Assignee | ||
Comment 2•14 days ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 76 tests and 1 subtests
Status Summary
Firefox
OK : 2[GitHub] 75[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: 7[GitHub] 624[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: 10
Chrome
OK : 2
PASS: 7
Safari
OK : 2
PASS: 7
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /cookiestore/cookieStore_set_domain_parsing.tentative.sub.https.html [wpt.fyi]:
SKIP - /cookiestore/change_eventhandler_for_no_name_and_no_value.https.window.html [wpt.fyi]
- Verify behavior of no-name and no-value cookies.:
FAIL
- Verify behavior of no-name and no-value cookies.:
- /cookiestore/change_eventhandler_for_no_name_equals_in_value.https.window.html [wpt.fyi]
- Verify that attempting to set a cookie with no name and with '=' in the value does not work.:
FAIL
- Verify that attempting to set a cookie with no name and with '=' in the value does not work.:
- /cookiestore/change_eventhandler_for_no_name_multiple_values.https.window.html [wpt.fyi]
- Verify behavior of multiple no-name cookies:
FAIL
- Verify behavior of multiple no-name cookies:
- /cookiestore/cookieListItem_attributes.https.window.html [wpt.fyi]
- CookieListItem - cookieStore.set with domain set to the current hostname:
FAIL
- CookieListItem - cookieStore.set with domain set to the current hostname:
- /cookiestore/cookieStore_delete_arguments.https.any.serviceworker.html [wpt.fyi]
- cookieStore.delete with positional empty name:
FAIL - cookieStore.delete with empty name in options:
FAIL
- cookieStore.delete with positional empty name:
- /cookiestore/cookieStore_delete_arguments.https.any.html [wpt.fyi]
- cookieStore.delete with positional empty name:
FAIL - cookieStore.delete with empty name in options:
FAIL
- cookieStore.delete with positional empty name:
- /cookiestore/cookieStore_set_limit.https.any.html [wpt.fyi]
- Set max-size name-less cookie:
FAIL
- Set max-size name-less cookie:
- /cookiestore/cookieStore_set_limit.https.any.serviceworker.html [wpt.fyi]
- Set max-size name-less cookie:
FAIL
- Set max-size name-less cookie:
Tests Disabled in Gecko Infrastructure
Comment 4•9 days ago
|
||
| bugherder | ||
Description
•