You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add references to cross-origin script tasks to the page tree #5242
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.
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.
Activity
KiChjang commentedon Nov 16, 2015
Does this mean that a page should have ways of getting child script tasks?
jdm commentedon 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
BrowsingContextobject.jdm commentedon 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 commentedon Jan 10, 2017
Do we already have this?
jdm commentedon Jan 10, 2017
No.
asajeffrey commentedon Feb 10, 2017
We have part of this in #15358.
nox commentedon Sep 30, 2017
@asajeffrey What's missing?
jdm commentedon Sep 30, 2017
Actual communication with the cross-origin script threads.
asajeffrey commentedon Oct 2, 2017
@jdm: we have postMessage, is there other communication you had in mind?
jdm commentedon Oct 2, 2017
Whoops, I guess not.