+
Skip to content

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
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载