window.customElements should be associated with each Window |
||||
Issue descriptionCurrently it appears to not be, in two ways: - It gets cleared on navigation from the initial about:blank, even though the Window stays the same during such a navigation - It does not get cleared during document.open(). Per spec this is supposed to create a new Window; non-Firefox browsers do not follow this, but they do generally clear Window-associated stuff, and so we should do the same for window.customElements. Tests at http://w3c-test.org/custom-elements/custom-element-registry/per-global.html
,
May 8 2017
,
May 8 2017
LocalDOMWindow::Reset() should only get called if we install a new Window object: this should be skipped if this is navigation from the initial about:blank page, and the navigation is same origin. (Another surprising failure is the failure in issue 718363, which I naively wouldn't have expected, but I haven't looked at it in detail yet)
,
Jul 14 2017
,
Feb 7 2018
A section for the first bullet. https://html.spec.whatwg.org/multipage/browsing-the-web.html#initialise-the-document-object > 1. If browsingContext's only entry in its session history is the about:blank Document that was added when browsingContext was created, and navigation is occurring with replacement enabled, and that Document has the same origin as the new Document, then do nothing. Edge and Firefox works correctly. |
||||
►
Sign in to add a comment |
||||
Comment 1 by dominicc@chromium.org
, May 8 2017