8000 feat: promisify cookies api by ckerr · Pull Request #16464 · electron/electron · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: promisify cookies api #16464

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 9 commits into from
Jan 25, 2019
Merged

feat: promisify cookies api #16464

merged 9 commits into from
Jan 25, 2019

Conversation

ckerr
Copy link
Member
@ckerr ckerr commented Jan 19, 2019

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
11 tasks
@codebytere codebytere changed the title Promisify cookies feat: promisify cookies api Jan 20, 2019
@ckerr
Copy link
Member Author
ckerr commented Jan 25, 2019

Needs electron/typescript-definitions#122 to land

Copy link
Member
@codebytere codebytere left a comment

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
Copy link
release-clerk bot commented Jan 25, 2019

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
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
Copy link
lehetap commented Oct 15, 2019

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
0