{"action":"created","issue":{"url":"https://api.github.com/repos/w3c/web-platform-tests/issues/4986","repository_url":"https://api.github.com/repos/w3c/web-platform-tests","labels_url":"https://api.github.com/repos/w3c/web-platform-tests/issues/4986/labels{/name}","comments_url":"https://api.github.com/repos/w3c/web-platform-tests/issues/4986/comments","events_url":"https://api.github.com/repos/w3c/web-platform-tests/issues/4986/events","html_url":"https://github.com/w3c/web-platform-tests/issues/4986","id":209533470,"number":4986,"title":"Add common lib for opaque origin tests","user":{"login":"inexorabletash","id":771547,"avatar_url":"https://avatars0.githubusercontent.com/u/771547?v=4","gravatar_id":"","url":"https://api.github.com/users/inexorabletash","html_url":"https://github.com/inexorabletash","followers_url":"https://api.github.com/users/inexorabletash/followers","following_url":"https://api.github.com/users/inexorabletash/following{/other_user}","gists_url":"https://api.github.com/users/inexorabletash/gists{/gist_id}","starred_url":"https://api.github.com/users/inexorabletash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inexorabletash/subscriptions","organizations_url":"https://api.github.com/users/inexorabletash/orgs","repos_url":"https://api.github.com/users/inexorabletash/repos","events_url":"https://api.github.com/users/inexorabletash/events{/privacy}","received_events_url":"https://api.github.com/users/inexorabletash/received_events","type":"User","site_admin":false},"labels":[{"id":45230790,"url":"https://api.github.com/repos/w3c/web-platform-tests/labels/infra","name":"infra","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-02-22T18:01:33Z","updated_at":"2017-10-04T12:22:23Z","closed_at":null,"author_association":"MEMBER","body":"As suggested in https://github.com/w3c/web-platform-tests/pull/4919\r\n\r\nThere's a common pattern using a sandboxed iframe, injected document body, and postMessage to exercise APIs that should fail (throw, reject, etc) in opaque origins. Mostly in storage-related APIs.\r\n\r\nThus far we've copy/pasted the code, but let's be real grown up engineers and factor it out.\r\n\r\n* service-workers/cache-storage/window/sandboxed-iframes.https.html\r\n* IndexedDB/idbfactory-deleteDatabase-opaque-origin.html \r\n* IndexedDB/idbfactory-open-opaque-origin.html \r\n* encrypted-media/scripts/unique-origin.js \r\n* storage/opaque-origin.https.html (pending)\r\n\r\ncc: @mikewest @annevk "},"comment":{"url":"https://api.github.com/repos/w3c/web-platform-tests/issues/comments/334137717","html_url":"https://github.com/w3c/web-platform-tests/issues/4986#issuecomment-334137717","issue_url":"https://api.github.com/repos/w3c/web-platform-tests/issues/4986","id":334137717,"user":{"login":"bobholt","id":94167,"avatar_url":"https://avatars2.githubusercontent.com/u/94167?v=4","gravatar_id":"","url":"https://api.github.com/users/bobholt","html_url":"https://github.com/bobholt","followers_url":"https://api.github.com/users/bobholt/followers","following_url":"https://api.github.com/users/bobholt/following{/other_user}","gists_url":"https://api.github.com/users/bobholt/gists{/gist_id}","starred_url":"https://api.github.com/users/bobholt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobholt/subscriptions","organizations_url":"https://api.github.com/users/bobholt/orgs","repos_url":"https://api.github.com/users/bobholt/repos","events_url":"https://api.github.com/users/bobholt/events{/privacy}","received_events_url":"https://api.github.com/users/bobholt/received_events","type":"User","site_admin":false},"created_at":"2017-10-04T12:22:23Z","updated_at":"2017-10-04T12:22:23Z","author_association":"CONTRIBUTOR","body":"@foolip I'll add an initial priority of \"backlog\" to this since there hasn't been any movement since February. Feel free to bump it up."}}
{"actor":{"display_login":"bobholt"}}