Closed Bug 2089324 Opened 17 days ago Closed 9 days ago

[wpt-sync] Sync PR 64350 - Cookie Store API: Stop cookieStore_set_path from leaking a cookie

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox162 fixed)

RESOLVED FIXED
162 Branch
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.js cleans up with cookieStore.delete(), which misses the cookie in Chrome (crbug 402779102). When the directory runs in one session, the leftover cookie fails httponly_cookies and serviceworker_cookieStore_cross_origin. This cleans up over HTTP instead (following after the set and delete argument tests) and registers the first httponly_cookies cleanup earlier so one failure doesn't leak into subsequent subtests.

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

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

Tests Disabled in Gecko Infrastructure

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/54daa9006224 https://hg.mozilla.org/integration/autoland/rev/824f133d3d26 [wpt PR 64350] - Cookie Store API: Stop cookieStore_set_path from leaking a cookie, a=testonly
Status: NEW → RESOLVED
Closed: 9 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.