{"action":"created","issue":{"url":"https://api.github.com/repos/servo/servo/issues/13247","repository_url":"https://api.github.com/repos/servo/servo","labels_url":"https://api.github.com/repos/servo/servo/issues/13247/labels{/name}","comments_url":"https://api.github.com/repos/servo/servo/issues/13247/comments","events_url":"https://api.github.com/repos/servo/servo/issues/13247/events","html_url":"https://github.com/servo/servo/issues/13247","id":176406187,"number":13247,"title":"Decode UTF-8 with replacement in DedicatedWorkerGlobalScope::run_worker_scope.","user":{"login":"Ms2ger","id":111161,"avatar_url":"https://avatars.githubusercontent.com/u/111161?v=3","gravatar_id":"","url":"https://api.github.com/users/Ms2ger","html_url":"https://github.com/Ms2ger","followers_url":"https://api.github.com/users/Ms2ger/followers","following_url":"https://api.github.com/users/Ms2ger/following{/other_user}","gists_url":"https://api.github.com/users/Ms2ger/gists{/gist_id}","starred_url":"https://api.github.com/users/Ms2ger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ms2ger/subscriptions","organizations_url":"https://api.github.com/users/Ms2ger/orgs","repos_url":"https://api.github.com/users/Ms2ger/repos","events_url":"https://api.github.com/users/Ms2ger/events{/privacy}","received_events_url":"https://api.github.com/users/Ms2ger/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/servo/servo/labels/A-content/dom","name":"A-content/dom","color":"d7e102"},{"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-panic","name":"I-panic","color":"e10c02"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-12T15:28:22Z","updated_at":"2016-09-12T16:13:18Z","closed_at":null,"body":"Blocks #2968.\r\n\r\n`String::from_utf8(bytes).unwrap()` will panic if the input is not well-formed UTF-8. We should use `String::from_utf8_lossy()` instead. (It should not be necessary to copy the string, though we may need to reorganize the code a little bit.)\r\n\r\n* Spec: <https://html.spec.whatwg.org/multipage/#fetch-a-classic-worker-script>.\r\n* Code: `components/script/dom/dedicatedworkerglobalscope.rs`.\r\n* Test: `./mach test-wpt /workers/semantics/encodings/004.worker`.\r\n"},"comment":{"url":"https://api.github.com/repos/servo/servo/issues/comments/246400274","html_url":"https://github.com/servo/servo/issues/13247#issuecomment-246400274","issue_url":"https://api.github.com/repos/servo/servo/issues/13247","id":246400274,"user":{"login":"Jenselme","id":6643536,"avatar_url":"https://avatars.githubusercontent.com/u/6643536?v=3","gravatar_id":"","url":"https://api.github.com/users/Jenselme","html_url":"https://github.com/Jenselme","followers_url":"https://api.github.com/users/Jenselme/followers","following_url":"https://api.github.com/users/Jenselme/following{/other_user}","gists_url":"https://api.github.com/users/Jenselme/gists{/gist_id}","starred_url":"https://api.github.com/users/Jenselme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jenselme/subscriptions","organizations_url":"https://api.github.com/users/Jenselme/orgs","repos_url":"https://api.github.com/users/Jenselme/repos","events_url":"https://api.github.com/users/Jenselme/events{/privacy}","received_events_url":"https://api.github.com/users/Jenselme/received_events","type":"User","site_admin":false},"created_at":"2016-09-12T16:13:17Z","updated_at":"2016-09-12T16:13:17Z","body":"I'll gladly have a look at this."}}
{"actor":{"display_login":"Jenselme"}}