Skip to content

Add domain prop, delete cookies with props, misc fixes #1

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

OlivierChirouze
Copy link

Thanks for this great playground project!
I had a lot of fun using it.
I hope these simple fixes will be ok for you.
More changes coming in a future PR 😉

  • setup for 3rd party cookies
  • test of partitioned cookies
  • better support of path (ability to check cookies on a particular path)

Don't hesitate to have a first look here:
https://github.com/OlivierChirouze/cookies-playground/compare/main...OlivierChirouze:cookies-playground:partitioned?expand=1

Seems like this is needed to have sub-dirs installed as well.
Also, adjusted README to use pnpm, not npm
Before, cookies were deleted from server without any Set-cookie
properties. It resulted in some cookies not being deleted as expected.
Now, users control what options should be used for deleting cookies,
based on the same inputs (ignoring name, value and expires, of course).
This allows to also test how "clear cookie" behaves.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant