Skip to content

Update cookieStore WPTs to not append "/" to the path attribute #52572

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 15, 2025

Conversation

chromium-wpt-export-bot
Copy link
Collaborator

Remove this behavior for better interoperability with document.cookie
and the Set-Cookie header. This logic was added in
https://chromium-review.googlesource.com/c/chromium/src/+/2131031 but it
is unclear why that was done (per
WICG/cookie-store#244).

This change additionally updates the set/delete test cleanup methods to
use the Set-Cookie header instead of cookieStore.delete to delete
cookies to avoid a dependency on the API being tested.

Bug: 402779102
Change-Id: I50fea05101c839f55736e7f3c958c919dd119f27
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6520094
Auto-Submit: Anusha Muley <[email protected]>
Reviewed-by: Chris Fredrickson <[email protected]>
Reviewed-by: Dylan Cutler <[email protected]>
Commit-Queue: Dylan Cutler <[email protected]>
Commit-Queue: Anusha Muley <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1460844}

Remove this behavior for better interoperability with document.cookie
and the Set-Cookie header. This logic was added in
https://chromium-review.googlesource.com/c/chromium/src/+/2131031 but it
is unclear why that was done (per
WICG/cookie-store#244).

This change additionally updates the set/delete test cleanup methods to
use the `Set-Cookie` header instead of `cookieStore.delete` to delete
cookies to avoid a dependency on the API being tested.

Bug: 402779102
Change-Id: I50fea05101c839f55736e7f3c958c919dd119f27
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6520094
Auto-Submit: Anusha Muley <[email protected]>
Reviewed-by: Chris Fredrickson <[email protected]>
Reviewed-by: Dylan Cutler <[email protected]>
Commit-Queue: Dylan Cutler <[email protected]>
Commit-Queue: Anusha Muley <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1460844}
Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Chromium project.

@WeizhongX WeizhongX closed this May 15, 2025
@WeizhongX WeizhongX reopened this May 15, 2025
@chromium-wpt-export-bot chromium-wpt-export-bot merged commit 4013039 into master May 15, 2025
19 checks passed
@chromium-wpt-export-bot chromium-wpt-export-bot deleted the chromium-export-bf0a6e732e branch May 15, 2025 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants