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

@rniwa, good catch ... looks like this issue can be demonstrated in Chrome’s implementation currently like this:

```js
x = document.createElement('x-');

customElements.define('x-', class extends HTMLElement {
  constructor() {
    super().attachInternals();
  }
});

x.attachInternals(); // works
customElements.upgrade(x); // throws
```


-- 
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-675863258

Received on Wednesday, 19 August 2020 05:40:58 UTC