8000 docs: update context bridge docs about Promises and Errors by mifi · Pull Request #32533 · electron/electron · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

docs: update context bridge docs about Promises and Errors #32533

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 2 commits into from
Jan 27, 2022

Conversation

mifi
Copy link
Contributor
@mifi mifi commented Jan 19, 2022

Description of Change

From my testing it doesn't remove Promises in nested objects,
also according to the test suite it does not:

it('should work with complex nested methods and promises', async () => {

Also improve Error description.

Checklist

Release Notes

Notes: Updated context bridge docs about Promises and Errors.

@electron-cation electron-cation bot added the new-pr 🌱 PR opened recently label Jan 19, 2022
@mifi mifi changed the title docs: Update context bridge docs about Promises docs: Update context bridge docs about Promises and Errors Jan 19, 2022
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened recently label Jan 26, 2022
@zcbenz zcbenz changed the title docs: Update context bridge docs about Promises and Errors docs: update context bridge docs about Promises and Errors Jan 27, 2022
@zcbenz zcbenz merged commit 20ed570 into electron:main Jan 27, 2022
@release-clerk
Copy link
release-clerk bot commented Jan 27, 2022

Release Notes Persisted

Updated context bridge docs about Promises and Errors.

trop bot pushed a commit that referenced this pull request Jan 27, 2022
* Update context bridge docs about Promises

From my testing it doesn't remove Promises in nested objects,
also according to the test suite it does not:
https://github.com/electron/electron/blob/80577a4f08824c031ad020b8f4e3c5975ff8081a/spec-main/api-context-bridge-spec.ts#L693

* docs: Update docs for errors too
trop bot pushed a commit that referenced this pull request Jan 27, 2022
* Update context bridge docs about Promises

From my testing it doesn't remove Promises in nested objects,
also according to the test suite it does not:
https://github.com/electron/electron/blob/80577a4f08824c031ad020b8f4e3c5975ff8081a/spec-main/api-context-bridge-spec.ts#L693

* docs: Update docs for errors too
@trop
Copy link
Contributor
trop bot commented Jan 27, 2022

I have automatically backported this PR to "17-x-y", please check out #32644

@trop
Copy link
Contributor
trop bot commented Jan 27, 2022

I have automatically backported this PR to "16-x-y", please check out #32645

@trop trop bot removed the target/17-x-y label Jan 27, 2022
@trop
Copy link
Contributor
trop bot commented Jan 27, 2022

I have automatically backported this PR to "15-x-y", please check out #32646

codebytere pushed a commit that referenced this pull request Jan 27, 2022
…32645)

* Update context bridge docs about Promises

From my testing it doesn't remove Promises in nested objects,
also according to the test suite it does not:
https://github.com/electron/electron/blob/80577a4f08824c031ad020b8f4e3c5975ff8081a/spec-main/api-context-bridge-spec.ts#L693

* docs: Update docs for errors too

Co-authored-by: Mikael Finstad <finstaden@gmail.com>
zcbenz pushed a commit that referenced this pull request Jan 28, 2022
…32646)

* Update context bridge docs about Promises

From my testing it doesn't remove Promises in nested objects,
also according to the test suite it does not:
https://github.com/electron/electron/blob/80577a4f08824c031ad020b8f4e3c5975ff8081a/spec-main/api-context-bridge-spec.ts#L693

* docs: Update docs for errors too

Co-authored-by: Mikael Finstad <finstaden@gmail.com>
63D6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0