Skip to content

Conversation

@annevk
Copy link
Member

@annevk annevk commented Aug 8, 2025

@wpt-pr-bot
Copy link
Collaborator

There are no reviewers for this pull request. Please reach out on the chat room to get help with this. Thank you!

Copy link
Contributor

@RupinMittal RupinMittal left a comment

Choose a reason for hiding this comment

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

LGTM!

});
const cookie = await cookieStore.delete(' cookie-name \t');
assert_equals(cookie, undefined);
}, 'cookieStore.delete with whitespace');
Copy link
Contributor

@RupinMittal RupinMittal Aug 9, 2025

Choose a reason for hiding this comment

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

Nit: Maybe 'cookieStore.delete with whitespace or tab' here and in the other places?

Or maybe is tab already considered whitespace? Maybe it's just semantics. I'm not sure, just noticed so I pointed it out--up to you :)

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah a tab is whitespace. There are also things that are whitespace that are not a tab or space, but since it's just a test name I think it's okay.

@annevk annevk merged commit f6caca9 into master Aug 9, 2025
25 checks passed
@annevk annevk deleted the annevk/cookie-tab-space branch August 9, 2025 05:57
annevk added a commit to whatwg/cookiestore that referenced this pull request Aug 9, 2025
Also slowly start modernizing some algorithm conventions.

Tests: web-platform-tests/wpt#54211.

Fixes #276.
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