{"action":"created","issue":{"url":"https://api.github.com/repos/whatwg/html/issues/322","labels_url":"https://api.github.com/repos/whatwg/html/issues/322/labels{/name}","comments_url":"https://api.github.com/repos/whatwg/html/issues/322/comments","events_url":"https://api.github.com/repos/whatwg/html/issues/322/events","html_url":"https://github.com/whatwg/html/pull/322","id":115858363,"number":322,"title":"Service worker registration selection for iframe srcdoc","user":{"login":"jungkees","id":1331169,"avatar_url":"https://avatars.githubusercontent.com/u/1331169?v=3","gravatar_id":"","url":"https://api.github.com/users/jungkees","html_url":"https://github.com/jungkees","followers_url":"https://api.github.com/users/jungkees/followers","following_url":"https://api.github.com/users/jungkees/following{/other_user}","gists_url":"https://api.github.com/users/jungkees/gists{/gist_id}","starred_url":"https://api.github.com/users/jungkees/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jungkees/subscriptions","organizations_url":"https://api.github.com/users/jungkees/orgs","repos_url":"https://api.github.com/users/jungkees/repos","events_url":"https://api.github.com/users/jungkees/events{/privacy}","received_events_url":"https://api.github.com/users/jungkees/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-09T11:33:47Z","updated_at":"2015-11-09T11:54:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/whatwg/html/pulls/322","html_url":"https://github.com/whatwg/html/pull/322","diff_url":"https://github.com/whatwg/html/pull/322.diff","patch_url":"https://github.com/whatwg/html/pull/322.patch"},"body":"When iframe srcdoc document is created during the steps in navigation\r\nalgorithm, the document's Window object's environment settings object\r\nshould inherit the parent browsing context's active (service) worker.\r\n\r\nThis PR introduces an active worker for an environment settings object.\r\nThis internal slot may be referenced in more places when adding hooks\r\nto service workers.\r\n\r\nFixes https://github.com/whatwg/html/issues/321.\r\n\r\nR= @annevk, @mikewest."},"comment":{"url":"https://api.github.com/repos/whatwg/html/issues/comments/155044384","html_url":"https://github.com/whatwg/html/pull/322#issuecomment-155044384","issue_url":"https://api.github.com/repos/whatwg/html/issues/322","id":155044384,"user":{"login":"annevk","id":1544111,"avatar_url":"https://avatars.githubusercontent.com/u/1544111?v=3","gravatar_id":"","url":"https://api.github.com/users/annevk","html_url":"https://github.com/annevk","followers_url":"https://api.github.com/users/annevk/followers","following_url":"https://api.github.com/users/annevk/following{/other_user}","gists_url":"https://api.github.com/users/annevk/gists{/gist_id}","starred_url":"https://api.github.com/users/annevk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annevk/subscriptions","organizations_url":"https://api.github.com/users/annevk/orgs","repos_url":"https://api.github.com/users/annevk/repos","events_url":"https://api.github.com/users/annevk/events{/privacy}","received_events_url":"https://api.github.com/users/annevk/received_events","type":"User","site_admin":false},"created_at":"2015-11-09T11:54:43Z","updated_at":"2015-11-09T11:54:43Z","body":"New slots for environment settings objects have to be introduced in multiple places, due to workers. They are also supposed to be algorithms that return something, so you might have to store the active worker on `Document` and `WorkerGlobalScope` objects."}}