{"action":"created","issue":{"url":"https://api.github.com/repos/servo/servo/issues/15521","repository_url":"https://api.github.com/repos/servo/servo","labels_url":"https://api.github.com/repos/servo/servo/issues/15521/labels{/name}","comments_url":"https://api.github.com/repos/servo/servo/issues/15521/comments","events_url":"https://api.github.com/repos/servo/servo/issues/15521/events","html_url":"https://github.com/servo/servo/issues/15521","id":207105428,"number":15521,"title":"Make HTMLOptionsCollection constructor accept a HTMLSelectElement argument","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},"labels":[{"id":15997600,"url":"https://api.github.com/repos/servo/servo/labels/A-content/dom","name":"A-content/dom","color":"d7e102","default":false},{"id":15997664,"url":"https://api.github.com/repos/servo/servo/labels/E-easy","name":"E-easy","color":"02e10c","default":false},{"id":15998196,"url":"https://api.github.com/repos/servo/servo/labels/I-refactor","name":"I-refactor","color":"e10c02","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-02-13T01:58:47Z","updated_at":"2017-02-13T02:23:41Z","closed_at":null,"body":"`HTMLOptionsCollection` objects are only ever instantiated via `HTMLSelectElement::Options`, but the constructor method for `HTMLOptionsCollection` accepts a `Node` argument rather than `HTMLSelectElement`. If we change this, it makes it harder to misuse the collection by giving it a root node that is not an `HTMLSelectElement`.\r\n\r\nCode: `components/script/dom/htmloptionscollection.rs`, `components/script/dom/htmlselectelement.rs`\r\n\r\nNo need for testing for this change; if it compiles then it's good enough for a PR."},"comment":{"url":"https://api.github.com/repos/servo/servo/issues/comments/279279480","html_url":"https://github.com/servo/servo/issues/15521#issuecomment-279279480","issue_url":"https://api.github.com/repos/servo/servo/issues/15521","id":279279480,"user":{"login":"simon-whitehead","id":2499070,"avatar_url":"https://avatars.githubusercontent.com/u/2499070?v=3","gravatar_id":"","url":"https://api.github.com/users/simon-whitehead","html_url":"https://github.com/simon-whitehead","followers_url":"https://api.github.com/users/simon-whitehead/followers","following_url":"https://api.github.com/users/simon-whitehead/following{/other_user}","gists_url":"https://api.github.com/users/simon-whitehead/gists{/gist_id}","starred_url":"https://api.github.com/users/simon-whitehead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simon-whitehead/subscriptions","organizations_url":"https://api.github.com/users/simon-whitehead/orgs","repos_url":"https://api.github.com/users/simon-whitehead/repos","events_url":"https://api.github.com/users/simon-whitehead/events{/privacy}","received_events_url":"https://api.github.com/users/simon-whitehead/received_events","type":"User","site_admin":false},"created_at":"2017-02-13T02:23:41Z","updated_at":"2017-02-13T02:23:41Z","body":"@highfive: assign me"}}
{"actor":{"display_login":"simon-whitehead"}}