Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd references to cross-origin script tasks to the page tree #5242
Comments
|
Does this mean that a page should have ways of getting child script tasks? |
|
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 |
|
#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. |
|
Do we already have this? |
|
No. |
|
We have part of this in #15358. |
|
@asajeffrey What's missing? |
|
Actual communication with the cross-origin script threads. |
|
@jdm: we have postMessage, is there other communication you had in mind? |
|
Whoops, I guess not. |
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.