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

Correct the default of allowRunningInsecureContent as per docs #12556

Merged
merged 3 commits into from
Apr 16, 2018

Conversation

MarshallOfSound
Copy link
Member

Fixes #12555

SetDefaultBoolIfUndefined("allowRunningInsecureContent", false);
bool webSecurity = true;
SetDefaultBoolIfUndefined("webSecurity", webSecurity);
// If webSecurity was explicity set to false, let's inherit that into insureContent
Copy link
Contributor

Choose a reason for hiding this comment

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

Typo insure

@codebytere
Copy link
Member

Failing on

../../atom/browser/web_contents_preferences.cc:71:23: error: no member named 'GetBoolean' in 'mate::Dictionary'
  if (web_preferences.GetBoolean("webSecurity", &webSecurity) && !webSecurity) {
      ~~~~~~~~~~~~~~~ ^

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.

👍

@ckerr ckerr merged commit d06c79f into master Apr 16, 2018
@trop
Copy link
Contributor

trop bot commented Apr 16, 2018

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

@trop
Copy link
Contributor

trop bot commented Apr 16, 2018

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

@trop
Copy link
Contributor

trop bot commented Apr 16, 2018

We have automatically backported this PR to "1-8-x", please check out #12630

@trop trop bot added merged/1-8-x and removed target/1-8-x labels Apr 16, 2018
@ckerr ckerr deleted the insecure-default branch April 16, 2018 13:37
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.

4 participants