Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

feat($browser): add expires to cookies() method#5056

Closed
erubboli wants to merge 6 commits intoangular:masterfrom
erubboli:master
Closed

feat($browser): add expires to cookies() method#5056
erubboli wants to merge 6 commits intoangular:masterfrom
erubboli:master

Conversation

@erubboli
Copy link
Copy Markdown

This PR add a new optional parameter to the cookies() method to allow the expire date to be explicit. Please note the test cannot check the expire date so the only way to test is to check its validity if its set in the past or in the future. If you have a better idea on how to test it I can improve it.

@petebacondarwin
Copy link
Copy Markdown
Contributor

This is a subset of #2459

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants