{"action":"closed","issue":{"url":"https://api.github.com/repos/servo/servo/issues/9169","labels_url":"https://api.github.com/repos/servo/servo/issues/9169/labels{/name}","comments_url":"https://api.github.com/repos/servo/servo/issues/9169/comments","events_url":"https://api.github.com/repos/servo/servo/issues/9169/events","html_url":"https://github.com/servo/servo/issues/9169","id":125198770,"number":9169,"title":"Use self::MixedMessage for handle_msgs in script_task.rs","user":{"login":"KiChjang","id":3248587,"avatar_url":"https://avatars.githubusercontent.com/u/3248587?v=3","gravatar_id":"","url":"https://api.github.com/users/KiChjang","html_url":"https://github.com/KiChjang","followers_url":"https://api.github.com/users/KiChjang/followers","following_url":"https://api.github.com/users/KiChjang/following{/other_user}","gists_url":"https://api.github.com/users/KiChjang/gists{/gist_id}","starred_url":"https://api.github.com/users/KiChjang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KiChjang/subscriptions","organizations_url":"https://api.github.com/users/KiChjang/orgs","repos_url":"https://api.github.com/users/KiChjang/repos","events_url":"https://api.github.com/users/KiChjang/events{/privacy}","received_events_url":"https://api.github.com/users/KiChjang/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/servo/servo/labels/A-content/script","name":"A-content/script","color":"d7e102"},{"url":"https://api.github.com/repos/servo/servo/labels/C-assigned","name":"C-assigned","color":"02d7e1"},{"url":"https://api.github.com/repos/servo/servo/labels/E-easy","name":"E-easy","color":"02e10c"},{"url":"https://api.github.com/repos/servo/servo/labels/I-papercut","name":"I-papercut","color":"e10c02"},{"url":"https://api.github.com/repos/servo/servo/labels/I-refactor","name":"I-refactor","color":"e10c02"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-01-06T15:31:10Z","updated_at":"2016-01-07T07:07:31Z","closed_at":"2016-01-07T07:07:31Z","body":"The `handle_msgs` function under `script_task.rs` contains a lot of references to variants of `MixedMessage`. We should make use of a `use` statement in the function so that we can directly reference the variants instead of prepending `MixedMessage::`.\r\n\r\nCode: `components/script/script_task.rs`"}}