nicolasff/webdis — Issue #35: Google Chrome 14/15 websocket not supported
Author: PhE
Created: 2011-10-10 21:36:24+00:00
State: open

The following javascript works fine on my Google Chrome 12 and Chromium 13 (Ubuntu 64bits).
It fails with Chrome 14 and Chrome 15 : the onopen() callback is never triggered.

```javascript
function testJSON() {
jsonSocket = new WebSocket("ws://127.0.0.1:7379/.json");
jsonSocket.onopen = function() {
console.log("JSON socket connected!");
jsonSocket.send(JSON.stringify(["SET", "hello", "world"]))
jsonSocket.send(JSON.stringify(["GET", "hello"]))
}
jsonSocket.onmessage = function(messageEvent) {
console.log("JSON received:", messageEvent.data)
}
}
testJSON();
```