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

Add references to cross-origin script tasks to the page tree #5242

Closed
jdm opened this issue Mar 17, 2015 · 10 comments
Closed

Add references to cross-origin script tasks to the page tree #5242

jdm opened this issue Mar 17, 2015 · 10 comments

Comments

@jdm
Copy link
Member

@jdm jdm commented Mar 17, 2015

When we have a cross-origin iframe, the page tree should contain a reference to its event loop, along with uniquely-identifying features. This will allow the implementation of APIs like postMessage, and set the stage for the implementation of #3939.

Blocks #5236.

@KiChjang
Copy link
Member

@KiChjang KiChjang commented Nov 16, 2015

Does this mean that a page should have ways of getting child script tasks?

@jdm
Copy link
Member Author

@jdm jdm commented Nov 30, 2015

Basically, yes. This ties in a bit with the changes in #8658 which add a concept of local vs. remote windows/documents. It's not yet totally clear to me how this should interact with the tree of Page objects. It's possible that Page should become nothing more than a wrapper around a BrowsingContext object.

@jdm
Copy link
Member Author

@jdm jdm commented Apr 19, 2016

#10630 is the design I had in mind for this. It's not really worth merging until we actually create instances of the Remote ones.

@KiChjang
Copy link
Member

@KiChjang KiChjang commented Jan 10, 2017

Do we already have this?

@jdm
Copy link
Member Author

@jdm jdm commented Jan 10, 2017

No.

@asajeffrey
Copy link
Member

@asajeffrey asajeffrey commented Feb 10, 2017

We have part of this in #15358.

@nox
Copy link
Member

@nox nox commented Sep 30, 2017

@asajeffrey What's missing?

@jdm
Copy link
Member Author

@jdm jdm commented Sep 30, 2017

Actual communication with the cross-origin script threads.

@asajeffrey
Copy link
Member

@asajeffrey asajeffrey commented Oct 2, 2017

@jdm: we have postMessage, is there other communication you had in mind?

@jdm
Copy link
Member Author

@jdm jdm commented Oct 2, 2017

Whoops, I guess not.

@jdm jdm closed this Oct 2, 2017
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
4 participants
You can’t perform that action at this time.