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: suppress worldSafe warning emitted from security checks #25692

Merged
merged 1 commit into from
Oct 1, 2020

Conversation

nornagon
Copy link
Member

Description of Change

The "hello world" Electron app was emitting a warning about executeJavaScript being called without world-safe turned on, even though the client code wasn't calling executeJavaScript. It turns out the culprit was in the security warnings code. For now, suppress the warning by calling _executeJavaScript directly.

Checklist

Release Notes

Notes: Suppressed a spurious warning about executeJavaScript being called without worldSafeExecuteJavaScript being enabled in apps that do not call executeJavaScript.

@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Sep 30, 2020
@nornagon
Copy link
Member Author

nornagon commented Oct 1, 2020

CI failures are unrelated; merging.

@nornagon nornagon merged commit 822b044 into master Oct 1, 2020
@release-clerk
Copy link

release-clerk bot commented Oct 1, 2020

Release Notes Persisted

Suppressed a spurious warning about executeJavaScript being called without worldSafeExecuteJavaScript being enabled in apps that do not call executeJavaScript.

@nornagon nornagon deleted the suppress-worldsafe-warning branch October 1, 2020 15:59
@nornagon
Copy link
Member Author

nornagon commented Oct 8, 2020

/trop run backport-to 10-x-y

@trop
Copy link
Contributor

trop bot commented Oct 8, 2020

The backport process for this PR has been manually initiated -
sending your commits to "10-x-y"!

@nornagon
Copy link
Member Author

nornagon commented Oct 8, 2020

/trop run backport-to 11-x-y

@trop
Copy link
Contributor

trop bot commented Oct 8, 2020

The backport process for this PR has been manually initiated -
sending your commits to "11-x-y"!

@trop
Copy link
Contributor

trop bot commented Oct 8, 2020

I have automatically backported this PR to "10-x-y", please check out #25827

@trop
Copy link
Contributor

trop bot commented Oct 8, 2020

I have automatically backported this PR to "11-x-y", please check out #25828

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

3 participants