Repository navigation
fix: use appropriate site instance for cross-site nav's (backport: 4-0-x) - #15969
Merged
codebytere merged 2 commits intoDec 10, 2018
Merged
Conversation
As part of this fix, Chromium's site isolation is enabled.
7 tasks done
deepak1556
approved these changes
Dec 6, 2018
Member
Author
|
@ckerr @MarshallOfSound , can you please check and merge this PR if you approve it? We'd like to have as much beta exposure to this fix as possible. Thanks! The failing mac ut's seem to be the usual flakes. |
codebytere
approved these changes
Dec 7, 2018
ckerr
approved these changes
Dec 7, 2018
|
Release Notes Persisted
|
Member
|
REVERT for pre-emptive merge: #15995 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of Change
This is a backport of the fix merged to master: d5d1fa8.
When a window is opened with window.open to navigate to a cross-site destination, the new site instance should belong to the browsing instance of the opener window in order not to break scripting relationships between windows.
fixes #8100.
This change turns Chromium's site isolation on and depends on it being on in order to work properly. Turning on site isolation revealed the following latent problems that are / will be fixed also in this PR:
The fix also requires the following to be addressed:
Checklist
npm testpassesRelease Notes
Notes: Fixed a bug where
window.openerof a window created with window.open from a sandboxed renderer was null.