Skip to content

Implement cross-origin iframe.contentWindow #15233

Closed

Description

@asajeffrey

Currently we return None for a cross-origin iframe.contentWindow.

Activity

  1. added
    A-content/script
    on Jan 26, 2017
  2. self-assigned this
    on Jan 26, 2017
  3. nox commented on Jan 26, 2017

    @nox
    Contributor
  4. asajeffrey commented on Jan 26, 2017

    @asajeffrey
    ContributorAuthor

    @nox: I talked to @avadacatavra about this at MozAloha, and we agreed to separate out the XOW part (which deals with security) from implementing cross-origin window proxies (which deals with the inter-thread communication caused by the WindowProxy and the Window living in different script threads).

  5. nox commented on Jan 26, 2017

    @nox
    Contributor

    Aren't cross-origin window proxies XOWs?

  6. asajeffrey commented on Jan 26, 2017

    @asajeffrey
    ContributorAuthor

    There's two different things here, the XOW needs to point to an object. In the case where the Window is similar-origin, it can be the real Window object, but in the non-similar-object case, the Window is in another script thread, so we need an object to represent the cross-origin window,.

  7. asajeffrey commented on Mar 2, 2017

    @asajeffrey
    ContributorAuthor

    Will be closed when #15536 lands.

  8. cbrewster commented on May 3, 2017

    @cbrewster
    Contributor

    #15536 has merged. Can this be closed?

  9. asajeffrey commented on May 3, 2017

    @asajeffrey
    ContributorAuthor

    Yes it can.

  10. jdm commented on May 3, 2017

    @jdm
    Member

    We still return null for iframe.contentWindow for cross-but-similar-origin iframes.

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

Metadata

Metadata

Assignees

Labels

A-content/script

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions