{"action":"created","issue":{"url":"https://api.github.com/repos/servo/servo/issues/9053","labels_url":"https://api.github.com/repos/servo/servo/issues/9053/labels{/name}","comments_url":"https://api.github.com/repos/servo/servo/issues/9053/comments","events_url":"https://api.github.com/repos/servo/servo/issues/9053/events","html_url":"https://github.com/servo/servo/issues/9053","id":123602045,"number":9053,"title":"Update WebSocket Constructor","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/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-refactor","name":"I-refactor","color":"e10c02"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-23T04:55:55Z","updated_at":"2015-12-23T06:04:43Z","closed_at":null,"body":"The WebIDL definitions for WebSocket has been updated upstream at the HTML specification documentation. In our current code, we use `optional (DOMString or DOMString) protocols` as the second argument to the constructor of WebSockets. The updated spech [here](https://html.spec.whatwg.org/multipage/comms.html#the-websocket-interface) instead uses `optional (DOMString and sequence<DOMString>) protocols`.\r\n\r\nCode: `components/script/dom/webidls/WebSockets.webidl`, `components/script/dom/websocket.rs`\r\nSpec: https://html.spec.whatwg.org/multipage/comms.html#the-websocket-interface\r\nTest: `tests/wpt/web-platform-tests/websockets/constructor.html`"},"comment":{"url":"https://api.github.com/repos/servo/servo/issues/comments/166811666","html_url":"https://github.com/servo/servo/issues/9053#issuecomment-166811666","issue_url":"https://api.github.com/repos/servo/servo/issues/9053","id":166811666,"user":{"login":"ecoal95","id":1323194,"avatar_url":"https://avatars.githubusercontent.com/u/1323194?v=3","gravatar_id":"","url":"https://api.github.com/users/ecoal95","html_url":"https://github.com/ecoal95","followers_url":"https://api.github.com/users/ecoal95/followers","following_url":"https://api.github.com/users/ecoal95/following{/other_user}","gists_url":"https://api.github.com/users/ecoal95/gists{/gist_id}","starred_url":"https://api.github.com/users/ecoal95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecoal95/subscriptions","organizations_url":"https://api.github.com/users/ecoal95/orgs","repos_url":"https://api.github.com/users/ecoal95/repos","events_url":"https://api.github.com/users/ecoal95/events{/privacy}","received_events_url":"https://api.github.com/users/ecoal95/received_events","type":"User","site_admin":false},"created_at":"2015-12-23T06:04:43Z","updated_at":"2015-12-23T06:04:43Z","body":"Yeah, I implemented return values in #8412, but no arguments yet."}}