{"action":"created","issue":{"url":"https://api.github.com/repos/w3c/webcomponents/issues/369","repository_url":"https://api.github.com/repos/w3c/webcomponents","labels_url":"https://api.github.com/repos/w3c/webcomponents/issues/369/labels{/name}","comments_url":"https://api.github.com/repos/w3c/webcomponents/issues/369/comments","events_url":"https://api.github.com/repos/w3c/webcomponents/issues/369/events","html_url":"https://github.com/w3c/webcomponents/issues/369","id":128686553,"number":369,"title":"Change registries to be per document and never shared between documents","user":{"login":"domenic","id":617481,"avatar_url":"https://avatars.githubusercontent.com/u/617481?v=3","gravatar_id":"","url":"https://api.github.com/users/domenic","html_url":"https://github.com/domenic","followers_url":"https://api.github.com/users/domenic/followers","following_url":"https://api.github.com/users/domenic/following{/other_user}","gists_url":"https://api.github.com/users/domenic/gists{/gist_id}","starred_url":"https://api.github.com/users/domenic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domenic/subscriptions","organizations_url":"https://api.github.com/users/domenic/orgs","repos_url":"https://api.github.com/users/domenic/repos","events_url":"https://api.github.com/users/domenic/events{/privacy}","received_events_url":"https://api.github.com/users/domenic/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/w3c/webcomponents/labels/custom-elements","name":"custom-elements","color":"5319e7"},{"url":"https://api.github.com/repos/w3c/webcomponents/labels/v1","name":"v1","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":26,"created_at":"2016-01-26T00:51:55Z","updated_at":"2016-03-08T19:35:57Z","closed_at":null,"body":"In particular, createDocument() and similar don't share registries with the parent."},"comment":{"url":"https://api.github.com/repos/w3c/webcomponents/issues/comments/193935881","html_url":"https://github.com/w3c/webcomponents/issues/369#issuecomment-193935881","issue_url":"https://api.github.com/repos/w3c/webcomponents/issues/369","id":193935881,"user":{"login":"domenic","id":617481,"avatar_url":"https://avatars.githubusercontent.com/u/617481?v=3","gravatar_id":"","url":"https://api.github.com/users/domenic","html_url":"https://github.com/domenic","followers_url":"https://api.github.com/users/domenic/followers","following_url":"https://api.github.com/users/domenic/following{/other_user}","gists_url":"https://api.github.com/users/domenic/gists{/gist_id}","starred_url":"https://api.github.com/users/domenic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domenic/subscriptions","organizations_url":"https://api.github.com/users/domenic/orgs","repos_url":"https://api.github.com/users/domenic/repos","events_url":"https://api.github.com/users/domenic/events{/privacy}","received_events_url":"https://api.github.com/users/domenic/received_events","type":"User","site_admin":false},"created_at":"2016-03-08T19:35:57Z","updated_at":"2016-03-08T19:35:57Z","body":"@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.\r\n\r\n> That would also mean we keep the registry when you navigate an initial about:blank which I think is what we want.\r\n\r\nI 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."}}