Skip to content

Make BrowserContext spec-compliant #5238

Closed

Description

@jdm

In practical terms, this means the frame tree on the script side should consist of BrowserContext values, with navigations causing the active document to be replaced. Any concept of a bfcache in the script task should store Document pointers.

Blocks #5236.

Activity

  1. added
    A-content/script
    on Mar 17, 2015
  2. benschulz commented on Jun 27, 2015

    @benschulz
    Contributor

    I read "make BrowserContext spec-compliant" as "make BrowserContexts persist across document loads within them". I.e. HTMLFrameElement and HTMLIFrameElement each own an unchanging BrowserContext, which points to the document it's currently displaying.

    How is that supposed to work w.r.t. cross-origin/different eTLD frames though? As far as I understand Documents should not escape their script task. Therefore the BrowserContext of a frame with a cross-origin src can't point to the document it's displaying.

    What am I missing/misunderstanding?

  3. jdm commented on Jun 28, 2015

    @jdm
    MemberAuthor

    Yes, we need to introduce a concept of opaque, proxy browsing contexts for cross-origin documents per #5242.

  4. KiChjang commented on Jan 25, 2017

    @KiChjang
    Contributor

    I believe we have since renamed the struct as BrowsingContext.

  5. jdm commented on Jan 25, 2017

    @jdm
    MemberAuthor

    Much of this is addressed by #15120.

  6. KiChjang commented on Aug 5, 2017

    @KiChjang
    Contributor

    Should this be closed then?

  7. jdm commented on Aug 6, 2017

    @jdm
    MemberAuthor

    I guess so!

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