Skip to content
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

feat: add preload-error event to webContents #16411

Merged
merged 1 commit into from Jan 18, 2019
Merged

Conversation

miniak
Copy link
Contributor

@miniak miniak commented Jan 15, 2019

Description of Change

Currently there is no good way of telling if the preload script failed (such as unhandled exception)

/cc @nornagon, @MarshallOfSound

Checklist

Release Notes

Notes: Added preload-error event to webContents emitted when preload script fails (parse error, unhandled exception, etc.)

@miniak miniak requested review from nornagon, MarshallOfSound and a team January 15, 2019 20:28
@miniak miniak self-assigned this Jan 16, 2019
Copy link
Member

@deepak1556 deepak1556 left a comment

Choose a reason for hiding this comment

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

LGTM

@alexeykuzmin alexeykuzmin merged commit 7d4a122 into master Jan 18, 2019
@release-clerk
Copy link

release-clerk bot commented Jan 18, 2019

Release Notes Persisted

Added preload-error event to webContents emitted when preload script fails (parse error, unhandled exception, etc.)

@alexeykuzmin alexeykuzmin deleted the miniak/preload-error branch January 18, 2019 11:05
akisctx pushed a commit to akisctx/electron that referenced this pull request Jan 22, 2019
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.

None yet

5 participants