{"action":"created","issue":{"url":"https://api.github.com/repos/w3c/resource-timing/issues/27","labels_url":"https://api.github.com/repos/w3c/resource-timing/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/w3c/resource-timing/issues/27/comments","events_url":"https://api.github.com/repos/w3c/resource-timing/issues/27/events","html_url":"https://github.com/w3c/resource-timing/issues/27","id":93588808,"number":27,"title":"Same-origin policy & observing no-cors fetches","user":{"login":"igrigorik","id":10652,"avatar_url":"https://avatars.githubusercontent.com/u/10652?v=3","gravatar_id":"","url":"https://api.github.com/users/igrigorik","html_url":"https://github.com/igrigorik","followers_url":"https://api.github.com/users/igrigorik/followers","following_url":"https://api.github.com/users/igrigorik/following{/other_user}","gists_url":"https://api.github.com/users/igrigorik/gists{/gist_id}","starred_url":"https://api.github.com/users/igrigorik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igrigorik/subscriptions","organizations_url":"https://api.github.com/users/igrigorik/orgs","repos_url":"https://api.github.com/users/igrigorik/repos","events_url":"https://api.github.com/users/igrigorik/events{/privacy}","received_events_url":"https://api.github.com/users/igrigorik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-07-07T17:50:15Z","updated_at":"2015-07-16T22:21:41Z","closed_at":null,"body":"> An attacker attacker.example can figure out what resources a stylesheet target.example loads by including it on attacker.example and using either the resource timing (shipped) or service worker (about to ship) API. This violates SOP. (@annevk)\r\n\r\n- https://github.com/slightlyoff/ServiceWorker/issues/719\r\n- https://bugzilla.mozilla.org/show_bug.cgi?id=1180145\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/w3c/resource-timing/issues/comments/122120557","html_url":"https://github.com/w3c/resource-timing/issues/27#issuecomment-122120557","issue_url":"https://api.github.com/repos/w3c/resource-timing/issues/27","id":122120557,"user":{"login":"igrigorik","id":10652,"avatar_url":"https://avatars.githubusercontent.com/u/10652?v=3","gravatar_id":"","url":"https://api.github.com/users/igrigorik","html_url":"https://github.com/igrigorik","followers_url":"https://api.github.com/users/igrigorik/followers","following_url":"https://api.github.com/users/igrigorik/following{/other_user}","gists_url":"https://api.github.com/users/igrigorik/gists{/gist_id}","starred_url":"https://api.github.com/users/igrigorik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igrigorik/subscriptions","organizations_url":"https://api.github.com/users/igrigorik/orgs","repos_url":"https://api.github.com/users/igrigorik/repos","events_url":"https://api.github.com/users/igrigorik/events{/privacy}","received_events_url":"https://api.github.com/users/igrigorik/received_events","type":"User","site_admin":false},"created_at":"2015-07-16T22:21:41Z","updated_at":"2015-07-16T22:21:41Z","body":"Looking at the plumbing, I think [step 3 in processing](http://w3c.github.io/resource-timing/#process) is where we need to restrict this behavior:\r\n\r\n> For each resource fetched by the current browsing context, perform the following steps...\r\n\r\nThat said, I'm not sure about the correct language to carve out ~\"fetches initiated by Documents fetched with no-cors flag\". @annevk any suggestions on this one?"}}