{"action":"created","issue":{"url":"https://api.github.com/repos/servo/servo/issues/6110","labels_url":"https://api.github.com/repos/servo/servo/issues/6110/labels{/name}","comments_url":"https://api.github.com/repos/servo/servo/issues/6110/comments","events_url":"https://api.github.com/repos/servo/servo/issues/6110/events","html_url":"https://github.com/servo/servo/pull/6110","id":77445768,"number":6110,"title":"Implement Named constructors and the Image constructor for HTMLImageElement","user":{"login":"klusark","id":240865,"avatar_url":"https://avatars.githubusercontent.com/u/240865?v=3","gravatar_id":"","url":"https://api.github.com/users/klusark","html_url":"https://github.com/klusark","followers_url":"https://api.github.com/users/klusark/followers","following_url":"https://api.github.com/users/klusark/following{/other_user}","gists_url":"https://api.github.com/users/klusark/gists{/gist_id}","starred_url":"https://api.github.com/users/klusark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klusark/subscriptions","organizations_url":"https://api.github.com/users/klusark/orgs","repos_url":"https://api.github.com/users/klusark/repos","events_url":"https://api.github.com/users/klusark/events{/privacy}","received_events_url":"https://api.github.com/users/klusark/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-squash","name":"S-needs-squash","color":"d4c5f9"}],"state":"open","locked":false,"assignee":{"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},"milestone":null,"comments":22,"created_at":"2015-05-18T01:00:39Z","updated_at":"2015-06-25T07:47:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/servo/servo/pulls/6110","html_url":"https://github.com/servo/servo/pull/6110","diff_url":"https://github.com/servo/servo/pull/6110.diff","patch_url":"https://github.com/servo/servo/pull/6110.patch"},"body":"I'm not sure if I like how I mostly just duplicated the code in CodegenRust.py, so that might need to be refactored.\r\n\r\nInstead of just calling it Image, we might want to call it ConstructorImage, to make it clear that it's a constructor. Anyone have an opinion on that?\r\n\r\nThere seems to be a bug in the HTMLImageElement getter/setter as the value is 0 regardless of what I do. This seems to be unrelated to my commits, so I'll investigate that separately.\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/6110)\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/servo/servo/issues/comments/115151810","html_url":"https://github.com/servo/servo/pull/6110#issuecomment-115151810","issue_url":"https://api.github.com/repos/servo/servo/issues/6110","id":115151810,"user":{"login":"bors-servo","id":4368172,"avatar_url":"https://avatars.githubusercontent.com/u/4368172?v=3","gravatar_id":"","url":"https://api.github.com/users/bors-servo","html_url":"https://github.com/bors-servo","followers_url":"https://api.github.com/users/bors-servo/followers","following_url":"https://api.github.com/users/bors-servo/following{/other_user}","gists_url":"https://api.github.com/users/bors-servo/gists{/gist_id}","starred_url":"https://api.github.com/users/bors-servo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bors-servo/subscriptions","organizations_url":"https://api.github.com/users/bors-servo/orgs","repos_url":"https://api.github.com/users/bors-servo/repos","events_url":"https://api.github.com/users/bors-servo/events{/privacy}","received_events_url":"https://api.github.com/users/bors-servo/received_events","type":"User","site_admin":false},"created_at":"2015-06-25T07:47:44Z","updated_at":"2015-06-25T07:47:44Z","body":":pushpin: Commit d335791 has been approved by `Ms2ger`\n\n<!-- @bors-servo r=Ms2ger d33579183a19796b702576a9eb99805f20a608b1 -->"}}