- From: Xiaocheng Hu <notifications@github.com>
- Date: Tue, 26 Sep 2023 11:11:08 -0700
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 26 September 2023 18:11:14 UTC
The "frame tree" I'm thinking about is: since each `CustomElementRegistry` is created in a global object `Window`, we can (conceptually) traverse from this `Window` through the [`parent`](https://html.spec.whatwg.org/multipage/nav-history-apis.html#dom-parent) and [array index](https://html.spec.whatwg.org/multipage/nav-history-apis.html#windowproxy-getownproperty) getters and get a tree of windows. And the tree order of this tree is [well-defined as the insertion order](https://html.spec.whatwg.org/multipage/nav-history-apis.html#windowproxy-getownproperty). I assume there's no way to use a registry in an active document outside this tree, is that correct? If so then we can use this tree. -- Reply to this email directly or view it on GitHub: https://github.com/WICG/webcomponents/issues/923#issuecomment-1736039395 You are receiving this because you are subscribed to this thread. Message ID: <WICG/webcomponents/issues/923/1736039395@github.com>
Received on Tuesday, 26 September 2023 18:11:14 UTC