{"action":"created","issue":{"url":"https://api.github.com/repos/servo/servo/issues/6854","labels_url":"https://api.github.com/repos/servo/servo/issues/6854/labels{/name}","comments_url":"https://api.github.com/repos/servo/servo/issues/6854/comments","events_url":"https://api.github.com/repos/servo/servo/issues/6854/events","html_url":"https://github.com/servo/servo/pull/6854","id":98232425,"number":6854,"title":"Remove usage of slice_chars in script","user":{"login":"SimonSapin","id":291359,"avatar_url":"https://avatars.githubusercontent.com/u/291359?v=3","gravatar_id":"","url":"https://api.github.com/users/SimonSapin","html_url":"https://github.com/SimonSapin","followers_url":"https://api.github.com/users/SimonSapin/followers","following_url":"https://api.github.com/users/SimonSapin/following{/other_user}","gists_url":"https://api.github.com/users/SimonSapin/gists{/gist_id}","starred_url":"https://api.github.com/users/SimonSapin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimonSapin/subscriptions","organizations_url":"https://api.github.com/users/SimonSapin/orgs","repos_url":"https://api.github.com/users/SimonSapin/repos","events_url":"https://api.github.com/users/SimonSapin/events{/privacy}","received_events_url":"https://api.github.com/users/SimonSapin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/servo/servo/labels/S-awaiting-review","name":"S-awaiting-review","color":"d4c5f9"},{"url":"https://api.github.com/repos/servo/servo/labels/S-needs-tests","name":"S-needs-tests","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-30T18:31:51Z","updated_at":"2015-07-30T20:49:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/servo/servo/pulls/6854","html_url":"https://github.com/servo/servo/pull/6854","diff_url":"https://github.com/servo/servo/pull/6854.diff","patch_url":"https://github.com/servo/servo/pull/6854.patch"},"body":"It’s deprecated in the #6850 rustup.\r\n\r\nThe first commit changes some behavior which was previously incorrect: the spec says indices in DOM strings are UTF-16 code units, not `char` code points.\r\n\r\nThe second commit should not change behavior, unless I made a mistake.\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/6854)\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/servo/servo/issues/comments/126481705","html_url":"https://github.com/servo/servo/pull/6854#issuecomment-126481705","issue_url":"https://api.github.com/repos/servo/servo/issues/6854","id":126481705,"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-07-30T20:49:16Z","updated_at":"2015-07-30T20:49:16Z","body":"There are unit tests in test/unit/script/textinput.rs - can you add some there?"}}