{"action":"opened","issue":{"url":"https://api.github.com/repos/servo/servo/issues/5243","labels_url":"https://api.github.com/repos/servo/servo/issues/5243/labels{/name}","comments_url":"https://api.github.com/repos/servo/servo/issues/5243/comments","events_url":"https://api.github.com/repos/servo/servo/issues/5243/events","html_url":"https://github.com/servo/servo/issues/5243","id":62257708,"number":5243,"title":"is_ready_to_paint_image_output can easily return true erroneously when under CPU load","user":{"login":"glennw","id":2350882,"avatar_url":"https://avatars.githubusercontent.com/u/2350882?v=3","gravatar_id":"","url":"https://api.github.com/users/glennw","html_url":"https://github.com/glennw","followers_url":"https://api.github.com/users/glennw/followers","following_url":"https://api.github.com/users/glennw/following{/other_user}","gists_url":"https://api.github.com/users/glennw/gists{/gist_id}","starred_url":"https://api.github.com/users/glennw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glennw/subscriptions","organizations_url":"https://api.github.com/users/glennw/orgs","repos_url":"https://api.github.com/users/glennw/repos","events_url":"https://api.github.com/users/glennw/events{/privacy}","received_events_url":"https://api.github.com/users/glennw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-17T02:05:16Z","updated_at":"2015-03-17T02:05:16Z","closed_at":null,"body":"This function tries to determine when it is safe to save a screenshot for reftests. However, it depends on other tasks setting state and sending messages to the compositor.\r\n\r\nIt's quite easy for this to return an incorrect value when the CPU is under load.\r\n\r\nWe need a better way to detect when it is safe to save a reftest screenshot.\r\n"}}