{"action":"created","issue":{"url":"https://api.github.com/repos/w3c/webappsec-csp/issues/90","repository_url":"https://api.github.com/repos/w3c/webappsec-csp","labels_url":"https://api.github.com/repos/w3c/webappsec-csp/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/w3c/webappsec-csp/issues/90/comments","events_url":"https://api.github.com/repos/w3c/webappsec-csp/issues/90/events","html_url":"https://github.com/w3c/webappsec-csp/issues/90","id":156321178,"number":90,"title":"Clarify the target for `SecurityPolicyViolationEvent`","user":{"login":"shekyan","id":1631049,"avatar_url":"https://avatars.githubusercontent.com/u/1631049?v=3","gravatar_id":"","url":"https://api.github.com/users/shekyan","html_url":"https://github.com/shekyan","followers_url":"https://api.github.com/users/shekyan/followers","following_url":"https://api.github.com/users/shekyan/following{/other_user}","gists_url":"https://api.github.com/users/shekyan/gists{/gist_id}","starred_url":"https://api.github.com/users/shekyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shekyan/subscriptions","organizations_url":"https://api.github.com/users/shekyan/orgs","repos_url":"https://api.github.com/users/shekyan/repos","events_url":"https://api.github.com/users/shekyan/events{/privacy}","received_events_url":"https://api.github.com/users/shekyan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-23T17:23:30Z","updated_at":"2016-05-24T05:48:19Z","closed_at":null,"body":"Current spec implies that target for `SecurityPolicyViolationEvent` is the [global object](http://www.w3.org/TR/html5/webappapis.html#global-object). It should be Document if in document, or WorkerGlobalScope if inside the worker.  "},"comment":{"url":"https://api.github.com/repos/w3c/webappsec-csp/issues/comments/221172575","html_url":"https://github.com/w3c/webappsec-csp/issues/90#issuecomment-221172575","issue_url":"https://api.github.com/repos/w3c/webappsec-csp/issues/90","id":221172575,"user":{"login":"mikewest","id":1497,"avatar_url":"https://avatars.githubusercontent.com/u/1497?v=3","gravatar_id":"","url":"https://api.github.com/users/mikewest","html_url":"https://github.com/mikewest","followers_url":"https://api.github.com/users/mikewest/followers","following_url":"https://api.github.com/users/mikewest/following{/other_user}","gists_url":"https://api.github.com/users/mikewest/gists{/gist_id}","starred_url":"https://api.github.com/users/mikewest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikewest/subscriptions","organizations_url":"https://api.github.com/users/mikewest/orgs","repos_url":"https://api.github.com/users/mikewest/repos","events_url":"https://api.github.com/users/mikewest/events{/privacy}","received_events_url":"https://api.github.com/users/mikewest/received_events","type":"User","site_admin":false},"created_at":"2016-05-24T05:48:19Z","updated_at":"2016-05-24T05:48:19Z","body":"I'd suggest changing step 1 of section 5.3 to something like \"Fire a trusted event with the name `securitypolicyviolation` at |violation|'s global object if it is a WorkerGlobalScope, or at |violation|'s global object's document otherwise. The event must use the SecurityPolicyViolationEvent interface, with its attributes initialized as follows:\"."}}
{"actor":{"display_login":"mikewest"}}