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: Incorrect warnings in webviews #12234

Merged
merged 2 commits into from
Mar 13, 2018
Merged

fix: Incorrect warnings in webviews #12234

merged 2 commits into from
Mar 13, 2018

Conversation

felixrieseberg
Copy link
Member

This PR fixes incorrect security warnings in webContents that aren't the current window's webContents. It is unclear to me why I didn't just call getCurrentWebContents() to begin with.

Closes #12200

@felixrieseberg felixrieseberg requested a review from a team March 13, 2018 01:25
Copy link
Member

@ckerr ckerr left a comment

Choose a reason for hiding this comment

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

Demeter is pleased

@ckerr
Copy link
Member

ckerr commented Mar 13, 2018

I hang my reviewer's head in shame

@ckerr ckerr merged commit 71795ec into master Mar 13, 2018
@trop-devel
Copy link

trop-devel bot commented Mar 13, 2018

An error occurred while attempting to backport this PR to "2-0-x", you will need to perform this backport manually

@ckerr
Copy link
Member

ckerr commented Mar 13, 2018

#trop run backport

@trop-devel
Copy link

trop-devel bot commented Mar 13, 2018

The backport process for this PR has been manually initiated, here we go :D

@trop-devel
Copy link

trop-devel bot commented Mar 13, 2018

We have automatically backported this PR to "2-0-x", please check out #12236

@ckerr ckerr deleted the webview-security-warning branch March 13, 2018 02:09
sethlu pushed a commit to sethlu/electron that referenced this pull request May 3, 2018
* 🔧 Get correct webContents

* 🔧 Err, webPreferences
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.

"Electron Security Warning (Disabled webSecurity)" issued on webview incorrectly?
2 participants