{"action":"created","issue":{"url":"https://api.github.com/repos/servo/servo/issues/6028","labels_url":"https://api.github.com/repos/servo/servo/issues/6028/labels{/name}","comments_url":"https://api.github.com/repos/servo/servo/issues/6028/comments","events_url":"https://api.github.com/repos/servo/servo/issues/6028/events","html_url":"https://github.com/servo/servo/pull/6028","id":75788219,"number":6028,"title":"script: Reflow 200 milliseconds after the `<body>` is parsed, like Gecko does.","user":{"login":"pcwalton","id":157897,"avatar_url":"https://avatars.githubusercontent.com/u/157897?v=3","gravatar_id":"","url":"https://api.github.com/users/pcwalton","html_url":"https://github.com/pcwalton","followers_url":"https://api.github.com/users/pcwalton/followers","following_url":"https://api.github.com/users/pcwalton/following{/other_user}","gists_url":"https://api.github.com/users/pcwalton/gists{/gist_id}","starred_url":"https://api.github.com/users/pcwalton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcwalton/subscriptions","organizations_url":"https://api.github.com/users/pcwalton/orgs","repos_url":"https://api.github.com/users/pcwalton/repos","events_url":"https://api.github.com/users/pcwalton/events{/privacy}","received_events_url":"https://api.github.com/users/pcwalton/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/servo/servo/labels/S-needs-code-changes","name":"S-needs-code-changes","color":"d4c5f9"},{"url":"https://api.github.com/repos/servo/servo/labels/S-needs-rebase","name":"S-needs-rebase","color":"d4c5f9"}],"state":"open","locked":false,"assignee":{"login":"jdm","id":27658,"avatar_url":"https://avatars.githubusercontent.com/u/27658?v=3","gravatar_id":"","url":"https://api.github.com/users/jdm","html_url":"https://github.com/jdm","followers_url":"https://api.github.com/users/jdm/followers","following_url":"https://api.github.com/users/jdm/following{/other_user}","gists_url":"https://api.github.com/users/jdm/gists{/gist_id}","starred_url":"https://api.github.com/users/jdm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdm/subscriptions","organizations_url":"https://api.github.com/users/jdm/orgs","repos_url":"https://api.github.com/users/jdm/repos","events_url":"https://api.github.com/users/jdm/events{/privacy}","received_events_url":"https://api.github.com/users/jdm/received_events","type":"User","site_admin":false},"milestone":null,"comments":8,"created_at":"2015-05-13T00:21:10Z","updated_at":"2015-05-25T19:39:07Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/servo/servo/pulls/6028","html_url":"https://github.com/servo/servo/pull/6028","diff_url":"https://github.com/servo/servo/pull/6028.diff","patch_url":"https://github.com/servo/servo/pull/6028.patch"},"body":"It would be nice if HTML parsing didn't have to hog the event loop, so I didn't have to do this polling in `content_changed()`, but maybe the way we do it is unavoidable.\r\n\r\nr? @jdm\n\n<!-- Reviewable:start -->\n[<img src=\"https://reviewable.io/review_button.png\" height=40 alt=\"Review on Reviewable\"/>](https://reviewable.io/reviews/servo/servo/6028)\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/servo/servo/issues/comments/105296786","html_url":"https://github.com/servo/servo/pull/6028#issuecomment-105296786","issue_url":"https://api.github.com/repos/servo/servo/issues/6028","id":105296786,"user":{"login":"jdm","id":27658,"avatar_url":"https://avatars.githubusercontent.com/u/27658?v=3","gravatar_id":"","url":"https://api.github.com/users/jdm","html_url":"https://github.com/jdm","followers_url":"https://api.github.com/users/jdm/followers","following_url":"https://api.github.com/users/jdm/following{/other_user}","gists_url":"https://api.github.com/users/jdm/gists{/gist_id}","starred_url":"https://api.github.com/users/jdm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdm/subscriptions","organizations_url":"https://api.github.com/users/jdm/orgs","repos_url":"https://api.github.com/users/jdm/repos","events_url":"https://api.github.com/users/jdm/events{/privacy}","received_events_url":"https://api.github.com/users/jdm/received_events","type":"User","site_admin":false},"created_at":"2015-05-25T19:39:07Z","updated_at":"2015-05-25T19:39:07Z","body":"-S-awaiting-review +S-needs-code-changes \n\n---\n\nReview status: all files reviewed, 3 unresolved discussions, some commit checks failed.\nReviewed files:\n- components/script/dom/document.rs @ r2\n- components/script/dom/htmlbodyelement.rs @ r2\n- components/script/dom/servohtmlparser.rs @ r2\n- components/script/dom/window.rs @ r2\n- components/script/script_task.rs @ r2\n\n---\n\n<sup>**[components/script/dom/document.rs, line 372 \\[r1\\]](https://reviewable.io:443/reviews/servo/servo/6028#-Jpx1TvvH2QaUPyTbs8C)** ([raw file](https://github.com/servo/servo/blob/702331c1ba55461d69af55ebfda82c173f68d8ac/components/script/dom/document.rs#L372)):</sup>\nDo we not want to set a shorter timeout if requested?\n\n---\n\n<sup>**[components/script/dom/htmlbodyelement.rs, line 103 \\[r2\\]](https://reviewable.io:443/reviews/servo/servo/6028#-JpxVv-rBu4ybMWKHXzL)** ([raw file](https://github.com/servo/servo/blob/75275045d9da3ea1c3f334814707a84f70a9f167/components/script/dom/htmlbodyelement.rs#L103)):</sup>\nCheck tree_in_doc here.\n\n---\n\n<sup>**[components/script/dom/servohtmlparser.rs, line 309 \\[r2\\]](https://reviewable.io:443/reviews/servo/servo/6028#-JpxUHV9YWePKllVbCeg)** ([raw file](https://github.com/servo/servo/blob/75275045d9da3ea1c3f334814707a84f70a9f167/components/script/dom/servohtmlparser.rs#L309)):</sup>\nWhy this extra block?\n\n---\n\n\nComments from the [review on Reviewable.io](https://reviewable.io:443/reviews/servo/servo/6028)\n<!-- Sent from Reviewable.io -->\n"}}