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

Support multiple root pages in a script task #5481

Closed
jdm opened this issue Apr 1, 2015 · 3 comments
Closed

Support multiple root pages in a script task #5481

jdm opened this issue Apr 1, 2015 · 3 comments

Comments

@jdm
Copy link
Member

@jdm jdm commented Apr 1, 2015

This would be required to properly support multiple tabs viewing pages that are same-origin - in order to support things like spec-compliant StorageEvent dispatch, the pages would need to be part of the same script task, but they don't have a hierarchical relationship like same-origin iframes.

Blocks #5236.

@jdm
Copy link
Member Author

@jdm jdm commented Jul 23, 2015

@bholley suggests that this isn't necessary, as only frames which are part of the same tree require synchronous access. Any two toplevel browsing contexts that are same origin can still be run in parallel and in isolation, and any two frames that are same-origin to each other but with a cross-origin frame interposed between them (ie. a.com contains b.com contains a.com) can also be run in isolation.

@bholley
Copy link
Contributor

@bholley bholley commented Jul 27, 2015

This isn't quite true, due to window.open etc. The spec lays it out nicely here: https://html.spec.whatwg.org/#groupings-of-browsing-contexts

@asajeffrey
Copy link
Member

@asajeffrey asajeffrey commented Dec 1, 2016

Closed by #14211 and the PRs which led up to it.

@asajeffrey asajeffrey closed this Dec 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.