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

webviewTag is not compatible with contextIsolation #9736

Closed
pwnsdx opened this Issue Jun 12, 2017 · 4 comments

Comments

Projects
None yet
8 participants
@pwnsdx
Copy link

pwnsdx commented Jun 12, 2017

  • Electron version: 1.7.2
  • Operating system: macOS Sierra

Expected behavior

Webview appear

Actual behavior

It don't

How to reproduce

  1. Create a browser window with contextIsolation on true and webviewTag on true
  2. Inside of it, add a webview
  3. Run it, webview should not appear
@hiddentao

This comment has been minimized.

Copy link

hiddentao commented Aug 8, 2017

Just seen this myself.

@codebytere

This comment has been minimized.

Copy link
Member

codebytere commented Sep 24, 2018

We are no longer implementing bugfixes for versions of Electron <= 1.7.x, so i'm going to close this issue but if it is still persisting in more recent versions of Electron we can certainly reopen it!

@ikkisoft

This comment has been minimized.

Copy link

ikkisoft commented Dec 11, 2018

Just tested on 3.0.11. This is still an issue.

Using

....
    webPreferences: {
      nodeIntegration: false, 
      contextIsolation: true,
      webviewTag: true,

<webview> does not work.

You know how important contextIsolation is for security, yet issues like this one make it impossible to use it in production. I think this issue should be prioritized.

@zcbenz zcbenz self-assigned this Dec 13, 2018

@BinaryMuse

This comment has been minimized.

Copy link
Member

BinaryMuse commented Dec 13, 2018

Thanks for the note, @ikkisoft. We agree with you and have started work on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment