{"action":"created","issue":{"url":"https://api.github.com/repos/servo/servo/issues/6338","labels_url":"https://api.github.com/repos/servo/servo/issues/6338/labels{/name}","comments_url":"https://api.github.com/repos/servo/servo/issues/6338/comments","events_url":"https://api.github.com/repos/servo/servo/issues/6338/events","html_url":"https://github.com/servo/servo/pull/6338","id":87275309,"number":6338,"title":"WebSocket constructor should not panic","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/S-awaiting-review","name":"S-awaiting-review","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-11T09:23:56Z","updated_at":"2015-06-11T09:24:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/servo/servo/pulls/6338","html_url":"https://github.com/servo/servo/pull/6338","diff_url":"https://github.com/servo/servo/pull/6338.diff","patch_url":"https://github.com/servo/servo/pull/6338.patch"},"body":"Make an early return when the WebSocket connection fails in the constructor.\r\nAlso let the WebSockect connection to be closed when the connection could\r\nnot be established.\r\n\r\nFixes #6082.\r\nFixes #6086.\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/6338)\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/servo/servo/issues/comments/111059074","html_url":"https://github.com/servo/servo/pull/6338#issuecomment-111059074","issue_url":"https://api.github.com/repos/servo/servo/issues/6338","id":111059074,"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},"created_at":"2015-06-11T09:24:47Z","updated_at":"2015-06-11T09:24:47Z","body":"@bors-servo: r+"}}