{"action":"closed","issue":{"url":"https://api.github.com/repos/slightlyoff/ServiceWorker/issues/395","labels_url":"https://api.github.com/repos/slightlyoff/ServiceWorker/issues/395/labels{/name}","comments_url":"https://api.github.com/repos/slightlyoff/ServiceWorker/issues/395/comments","events_url":"https://api.github.com/repos/slightlyoff/ServiceWorker/issues/395/events","html_url":"https://github.com/slightlyoff/ServiceWorker/issues/395","id":39054658,"number":395,"title":"[Exposed] annotations on InstallEvent an ServiceWorker make no sense","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":[{"url":"https://api.github.com/repos/slightlyoff/ServiceWorker/labels/no+impact+%28blink%29","name":"no impact (blink)","color":"006b75"},{"url":"https://api.github.com/repos/slightlyoff/ServiceWorker/labels/spec+detail","name":"spec detail","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2014-07-30T02:12:44Z","updated_at":"2015-01-09T05:31:17Z","closed_at":"2015-01-09T05:31:17Z","body":"`InstallEvent` has `[Exposed=ServiceWorker]`.  So its `.activeWorker` can only be accessed inside a ServiceWorker, fine.\r\n\r\nBut this attribute returns a `ServiceWorker,` and `ServiceWorker` has `Exposed=Window`.  So the methods/attributes of `ServiceWorker` are only accessibly inside a Window.\r\n\r\nI have a hard time believing this is the desired behavior.  Either InstallEvent is exposed in Window, or ServiceWorker should also be exposed in non-Window scopes, I would think."}}