{"action":"created","issue":{"url":"https://api.github.com/repos/whatwg/html/issues/313","labels_url":"https://api.github.com/repos/whatwg/html/issues/313/labels{/name}","comments_url":"https://api.github.com/repos/whatwg/html/issues/313/comments","events_url":"https://api.github.com/repos/whatwg/html/issues/313/events","html_url":"https://github.com/whatwg/html/issues/313","id":115310100,"number":313,"title":"Disowning owner should perhaps affect link targeting","user":{"login":"bzbarsky","id":1457979,"avatar_url":"https://avatars.githubusercontent.com/u/1457979?v=3","gravatar_id":"","url":"https://api.github.com/users/bzbarsky","html_url":"https://github.com/bzbarsky","followers_url":"https://api.github.com/users/bzbarsky/followers","following_url":"https://api.github.com/users/bzbarsky/following{/other_user}","gists_url":"https://api.github.com/users/bzbarsky/gists{/gist_id}","starred_url":"https://api.github.com/users/bzbarsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bzbarsky/subscriptions","organizations_url":"https://api.github.com/users/bzbarsky/orgs","repos_url":"https://api.github.com/users/bzbarsky/repos","events_url":"https://api.github.com/users/bzbarsky/events{/privacy}","received_events_url":"https://api.github.com/users/bzbarsky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-11-05T15:38:44Z","updated_at":"2015-11-16T13:21:52Z","closed_at":null,"body":"Consider this document:\r\n\r\n    <div onclick=\"w = window.open('http://example.com', 'foo'); w.opener= null\">\r\n      Click me first\r\n    </div>\r\n    <div onclick=\"w = window.open('http://example.org', 'foo'); w.opener= null\">\r\n      Click me second\r\n    </div>\r\n\r\nI believe per spec clicking the first link then the second one should only open one window, since disowning the owner doesn't affect link targeting as far as I can tell.\r\n\r\nIn both Gecko and Blink, two windows are opened instead.\r\n\r\nIn Edge only one window is opened and the second click doesn't navigate it (no matter what I do with the opener) which seems a bit odd."},"comment":{"url":"https://api.github.com/repos/whatwg/html/issues/comments/157025813","html_url":"https://github.com/whatwg/html/issues/313#issuecomment-157025813","issue_url":"https://api.github.com/repos/whatwg/html/issues/313","id":157025813,"user":{"login":"bzbarsky","id":1457979,"avatar_url":"https://avatars.githubusercontent.com/u/1457979?v=3","gravatar_id":"","url":"https://api.github.com/users/bzbarsky","html_url":"https://github.com/bzbarsky","followers_url":"https://api.github.com/users/bzbarsky/followers","following_url":"https://api.github.com/users/bzbarsky/following{/other_user}","gists_url":"https://api.github.com/users/bzbarsky/gists{/gist_id}","starred_url":"https://api.github.com/users/bzbarsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bzbarsky/subscriptions","organizations_url":"https://api.github.com/users/bzbarsky/orgs","repos_url":"https://api.github.com/users/bzbarsky/repos","events_url":"https://api.github.com/users/bzbarsky/events{/privacy}","received_events_url":"https://api.github.com/users/bzbarsky/received_events","type":"User","site_admin":false},"created_at":"2015-11-16T13:21:52Z","updated_at":"2015-11-16T13:21:52Z","body":"Put another way, we need to prevent targeting by name in the same process for same-origin stuff in some cases to have a well-defined spec here that doesn't depend on arbitrary implementation details."}}