Skip to content

feat: promisify cookies api - #16464

Merged
ckerr merged 9 commits into
masterfrom
promisify-cookie
Jan 25, 2019
Merged

ckerr merged 9 commits into
masterfrom
promisify-cookie

Conversation

@ckerr

@ckerr ckerr commented Jan 19, 2019 •

Copy link
Copy Markdown
Member

Description of Change

Promisifies the cookie API.

CC @codebytere

Checklist

Release Notes

Notes: Added Promise support for the Cookies API.

@ckerr
ckerr requested review from a team January 19, 2019 21:19
@ckerr ckerr mentioned this pull request Jan 19, 2019
7 of 11 tasks
@codebytere codebytere changed the title Promisify cookies feat: promisify cookies api Jan 20, 2019
Comment thread atom/browser/api/atom_api_cookies.cc Resolved
Comment thread atom/browser/api/atom_api_cookies.cc Resolved
Comment thread docs/api/cookies.md Resolved
Comment thread docs/api/cookies.md Resolved
Comment thread docs/api/cookies.md Resolved
Comment thread docs/api/cookies.md Resolved
Comment thread docs/api/cookies.md Resolved
@ckerr

ckerr commented Jan 25, 2019

Copy link
Copy Markdown
Member Author

Needs electron/typescript-definitions#122 to land

@codebytere codebytere left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

⭐️

@ckerr
ckerr merged commit 8396a2d into master Jan 25, 2019
@release-clerk

release-clerk Bot commented Jan 25, 2019

Copy link
Copy Markdown

Release Notes Persisted

Added Promise support for the Cookies API.

@ckerr
ckerr deleted the promisify-cookie branch January 25, 2019 18:11
codebytere pushed a commit that referenced this pull request Feb 2, 2019
* feat: promisify the Cookie API

* chore: update specs to test promisified cookies

* chore: add deprecate wrapper for cookie callback API

* docs: update docs to cookie promise changes

* chore: remove redundant namespace use

* docs: improve cookie example

* docs: restore docs for cookie callback API

* chore: restore cookie callback tests

* fix: syntax of cookie promise return types
@codebytere codebytere mentioned this pull request Feb 2, 2019
6 tasks done
codebytere added a commit that referenced this pull request Feb 3, 2019
* feat: promisify cookies api (#16464)

* feat: promisify the Cookie API

* chore: update specs to test promisified cookies

* chore: add deprecate wrapper for cookie callback API

* docs: update docs to cookie promise changes

* chore: remove redundant namespace use

* docs: improve cookie example

* docs: restore docs for cookie callback API

* chore: restore cookie callback tests

* fix: syntax of cookie promise return types

* fix: use new promisify helper
@lehetap

lehetap commented Oct 15, 2019 •

Copy link
Copy Markdown

This version introduced a break into my app. In particular, some cookies are not being retrieved when using cookies.get (with filter object using url) even if the new promisified version used. The cookies that are not retrieved have the following attributes different from those retrieved: Secure; HttpOnly; SameSite=Strict

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.

3 participants