Skip to content

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

Closed

Description

@jdm

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.

Activity

  1. added
    A-content/script
    on Mar 17, 2015
  2. KiChjang commented on Nov 16, 2015

    @KiChjang
    Contributor

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

  3. jdm commented on Nov 30, 2015

    @jdm
    MemberAuthor

    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.

  4. jdm commented on Apr 19, 2016

    @jdm
    MemberAuthor

    #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.

  5. KiChjang commented on Jan 10, 2017

    @KiChjang
    Contributor

    Do we already have this?

  6. jdm commented on Jan 10, 2017

    @jdm
    MemberAuthor

    No.

  7. asajeffrey commented on Feb 10, 2017

    @asajeffrey
    Contributor

    We have part of this in #15358.

  8. nox commented on Sep 30, 2017

    @nox
    Contributor

    @asajeffrey What's missing?

  9. jdm commented on Sep 30, 2017

    @jdm
    MemberAuthor

    Actual communication with the cross-origin script threads.

  10. asajeffrey commented on Oct 2, 2017

    @asajeffrey
    Contributor

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

  11. jdm commented on Oct 2, 2017

    @jdm
    MemberAuthor

    Whoops, I guess not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-content/script

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions