{"action":"created","issue":{"url":"https://api.github.com/repos/whatwg/html/issues/3691","repository_url":"https://api.github.com/repos/whatwg/html","labels_url":"https://api.github.com/repos/whatwg/html/issues/3691/labels{/name}","comments_url":"https://api.github.com/repos/whatwg/html/issues/3691/comments","events_url":"https://api.github.com/repos/whatwg/html/issues/3691/events","html_url":"https://github.com/whatwg/html/issues/3691","id":323345049,"number":3691,"title":"postMessage requires synchronous possibly-cross-process access","user":{"login":"bzbarsky","id":1457979,"avatar_url":"https://avatars1.githubusercontent.com/u/1457979?v=4","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":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-15T19:07:04Z","updated_at":"2018-05-15T19:36:07Z","closed_at":null,"author_association":"COLLABORATOR","body":"Step 2 of https://html.spec.whatwg.org/multipage/web-messaging.html#dom-window-postmessage requires synchronous possibly-cross-process access, as far as I can see.\r\n\r\nIn practice, it's not clear to me what UAs do here.  For example, if a navigation matures while the postmessage task is queued (probably testable by doing postMessage from unload at least in the same-process case) does the message event fire on the old Window, the new Window, or neither?  It looks to me like the spec requires it to fire on the old Window; not sure whether that firing would be observable (and hence whether this is black-box distinguishable from \"neither\").\r\n\r\n@annevk @domenic "},"comment":{"url":"https://api.github.com/repos/whatwg/html/issues/comments/389287436","html_url":"https://github.com/whatwg/html/issues/3691#issuecomment-389287436","issue_url":"https://api.github.com/repos/whatwg/html/issues/3691","id":389287436,"user":{"login":"bzbarsky","id":1457979,"avatar_url":"https://avatars1.githubusercontent.com/u/1457979?v=4","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},"created_at":"2018-05-15T19:36:07Z","updated_at":"2018-05-15T19:36:07Z","author_association":"COLLABORATOR","body":"Well, the sync access to Window is a problem too, fundamentally...  What you have available sync is a WindowProxy; that's really it."}}
{"actor":{"display_login":"bzbarsky"}}