Re: [webcomponents] Custom elements disconnected from a document should not be upgraded (#419)

> This also results in rather unexpected behavior of unresolved custom elements inside template content and document without a browsing context getting upgraded. THAT should at least be avoided.

That is a different issue and is about what documents the registry works for.

As for this issue, it seems reasonable that the upgrade candidates map holds weak references to the elements. That is, if they are only referenced from there, they should just be collected and not instantiated.

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/419#issuecomment-193161090

Received on Monday, 7 March 2016 08:48:14 UTC