Re: [w3c/webcomponents] Expose shadowRoot on element internals (#871)

> Thanks for digging that up @mfreed7! And yeah, as @bathos shows we did in fact add the opt-out.
> 
> @rniwa until `define()` is called there is no definition for the element, right? `attachInternals()` will throw if that's the case. So that case is already covered as far as I can tell.

`define` being called doesn't mean the constructor is the only thing running. While each element is getting upgraded, other scripts can access other yet-to-be-upgraded elements.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/871#issuecomment-675856375

Received on Wednesday, 19 August 2020 05:17:15 UTC