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
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.
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.
Activity
benschulz commentedon Jun 27, 2015
I read "make
BrowserContextspec-compliant" as "makeBrowserContexts persist across document loads within them". I.e.HTMLFrameElementandHTMLIFrameElementeach own an unchangingBrowserContext, 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 theBrowserContextof a frame with a cross-originsrccan't point to the document it's displaying.What am I missing/misunderstanding?
jdm commentedon Jun 28, 2015
Yes, we need to introduce a concept of opaque, proxy browsing contexts for cross-origin documents per #5242.
KiChjang commentedon Jan 25, 2017
I believe we have since renamed the struct as
BrowsingContext.jdm commentedon Jan 25, 2017
Much of this is addressed by #15120.
KiChjang commentedon Aug 5, 2017
Should this be closed then?
jdm commentedon Aug 6, 2017
I guess so!