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

fix: <webview> not working with contextIsolation + sandbox #16469

Merged
merged 1 commit into from Jan 22, 2019

Conversation

miniak
Copy link
Contributor

@miniak miniak commented Jan 20, 2019

Description of Change

  • The isolated_renderer/init.js script was not being injected into the main world context of sandboxed renderers
  • The code for forwarding the focus event was missing in lib/sandboxed_renderer/init.js.

/cc @nornagon @MarshallOfSound

Checklist

Release Notes

Notes: Fixed <webview> not working with contextIsolation + sandbox.
Fixed focus event not emitted when <webview> is sandboxed.

@miniak miniak requested a review from a team January 20, 2019 11:39
@miniak miniak self-assigned this Jan 20, 2019
@miniak miniak force-pushed the miniak/webview-focus-sandbox branch 4 times, most recently from 67044a4 to 9cf35a1 Compare January 20, 2019 17:36
@miniak miniak changed the title fix: focus event not emitted when <webview> is sandboxed fix: <webview> not working with contextIsolation + sandbox Jan 20, 2019
@miniak miniak force-pushed the miniak/webview-focus-sandbox branch from 9cf35a1 to df7c47a Compare January 20, 2019 17:41
@miniak miniak force-pushed the miniak/webview-focus-sandbox branch from df7c47a to af5869f Compare January 20, 2019 19:48
Copy link
Member

@zcbenz zcbenz left a comment

Choose a reason for hiding this comment

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

👍

@zcbenz zcbenz merged commit b965e54 into master Jan 22, 2019
@release-clerk
Copy link

release-clerk bot commented Jan 22, 2019

Release Notes Persisted

Fixed <webview> not working with contextIsolation + sandbox.

@zcbenz zcbenz deleted the miniak/webview-focus-sandbox branch January 22, 2019 01:08
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

4 participants