Re: [webcomponents] Change registries to be per document and never shared between documents (#369)

@annevk one thing I prefer about the current model is that it's easy to define in DOM without having DOM define properties of the current realm or window, or knowing about browsing contexts. Instead DOM just says that a document has a registry, potentially null, and lets HTML set up a new registry when appropriate. Anything else seems to involve too much intertwingling.

> That would also mean we keep the registry when you navigate an initial about:blank which I think is what we want.

I don't really agree. I think if you've added elements to the initial about:blank, for whatever reason, they should probably go away when you navigate.

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

Received on Tuesday, 8 March 2016 19:36:34 UTC