{"action":"created","issue":{"url":"https://api.github.com/repos/servo/servo/issues/20329","repository_url":"https://api.github.com/repos/servo/servo","labels_url":"https://api.github.com/repos/servo/servo/issues/20329/labels{/name}","comments_url":"https://api.github.com/repos/servo/servo/issues/20329/comments","events_url":"https://api.github.com/repos/servo/servo/issues/20329/events","html_url":"https://github.com/servo/servo/pull/20329","id":306239611,"number":20329,"title":"Implement beforeunload event and infrastructure","user":{"login":"gterzian","id":2792687,"avatar_url":"https://avatars2.githubusercontent.com/u/2792687?v=4","gravatar_id":"","url":"https://api.github.com/users/gterzian","html_url":"https://github.com/gterzian","followers_url":"https://api.github.com/users/gterzian/followers","following_url":"https://api.github.com/users/gterzian/following{/other_user}","gists_url":"https://api.github.com/users/gterzian/gists{/gist_id}","starred_url":"https://api.github.com/users/gterzian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gterzian/subscriptions","organizations_url":"https://api.github.com/users/gterzian/orgs","repos_url":"https://api.github.com/users/gterzian/repos","events_url":"https://api.github.com/users/gterzian/events{/privacy}","received_events_url":"https://api.github.com/users/gterzian/received_events","type":"User","site_admin":false},"labels":[{"id":152310043,"url":"https://api.github.com/repos/servo/servo/labels/S-awaiting-review","name":"S-awaiting-review","color":"d4c5f9","default":false},{"id":152310165,"url":"https://api.github.com/repos/servo/servo/labels/S-needs-squash","name":"S-needs-squash","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":{"login":"cbrewster","id":9086315,"avatar_url":"https://avatars1.githubusercontent.com/u/9086315?v=4","gravatar_id":"","url":"https://api.github.com/users/cbrewster","html_url":"https://github.com/cbrewster","followers_url":"https://api.github.com/users/cbrewster/followers","following_url":"https://api.github.com/users/cbrewster/following{/other_user}","gists_url":"https://api.github.com/users/cbrewster/gists{/gist_id}","starred_url":"https://api.github.com/users/cbrewster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbrewster/subscriptions","organizations_url":"https://api.github.com/users/cbrewster/orgs","repos_url":"https://api.github.com/users/cbrewster/repos","events_url":"https://api.github.com/users/cbrewster/events{/privacy}","received_events_url":"https://api.github.com/users/cbrewster/received_events","type":"User","site_admin":false},"assignees":[{"login":"cbrewster","id":9086315,"avatar_url":"https://avatars1.githubusercontent.com/u/9086315?v=4","gravatar_id":"","url":"https://api.github.com/users/cbrewster","html_url":"https://github.com/cbrewster","followers_url":"https://api.github.com/users/cbrewster/followers","following_url":"https://api.github.com/users/cbrewster/following{/other_user}","gists_url":"https://api.github.com/users/cbrewster/gists{/gist_id}","starred_url":"https://api.github.com/users/cbrewster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbrewster/subscriptions","organizations_url":"https://api.github.com/users/cbrewster/orgs","repos_url":"https://api.github.com/users/cbrewster/repos","events_url":"https://api.github.com/users/cbrewster/events{/privacy}","received_events_url":"https://api.github.com/users/cbrewster/received_events","type":"User","site_admin":false}],"milestone":null,"comments":62,"created_at":"2018-03-18T13:18:14Z","updated_at":"2018-05-01T14:05:51Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/servo/servo/pulls/20329","html_url":"https://github.com/servo/servo/pull/20329","diff_url":"https://github.com/servo/servo/pull/20329.diff","patch_url":"https://github.com/servo/servo/pull/20329.patch"},"body":"<!-- Please describe your changes on the following line: -->\r\n\r\nImplementation of:\r\n1. https://html.spec.whatwg.org/multipage/#prompt-to-unload-a-document, and\r\n2. https://html.spec.whatwg.org/multipage/#unload-a-document\r\n---\r\n<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->\r\n- [ ] `./mach build -d` does not report any errors\r\n- [ ] `./mach test-tidy` does not report any errors\r\n- [ ] These changes fix #10787 and fix #20485 and fix #20588 and fix #20496 (github issue number if applicable).\r\n\r\n<!-- Either: -->\r\n- [ ] There are tests for these changes OR\r\n- [ ] These changes do not require tests because _____\r\n\r\n<!-- Also, please make sure that \"Allow edits from maintainers\" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->\r\n\r\n<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->\r\n\r\n<!-- Reviewable:start -->\r\n---\r\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"34\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/servo/servo/20329)\r\n<!-- Reviewable:end -->\r\n"},"comment":{"url":"https://api.github.com/repos/servo/servo/issues/comments/385678652","html_url":"https://github.com/servo/servo/pull/20329#issuecomment-385678652","issue_url":"https://api.github.com/repos/servo/servo/issues/20329","id":385678652,"user":{"login":"gterzian","id":2792687,"avatar_url":"https://avatars2.githubusercontent.com/u/2792687?v=4","gravatar_id":"","url":"https://api.github.com/users/gterzian","html_url":"https://github.com/gterzian","followers_url":"https://api.github.com/users/gterzian/followers","following_url":"https://api.github.com/users/gterzian/following{/other_user}","gists_url":"https://api.github.com/users/gterzian/gists{/gist_id}","starred_url":"https://api.github.com/users/gterzian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gterzian/subscriptions","organizations_url":"https://api.github.com/users/gterzian/orgs","repos_url":"https://api.github.com/users/gterzian/repos","events_url":"https://api.github.com/users/gterzian/events{/privacy}","received_events_url":"https://api.github.com/users/gterzian/received_events","type":"User","site_admin":false},"created_at":"2018-05-01T14:05:51Z","updated_at":"2018-05-01T14:05:51Z","author_association":"CONTRIBUTOR","body":"Thanks, rebased off master, and fixed this..."}}
{"actor":{"display_login":"gterzian"}}