summaryrefslogtreecommitdiffstats
path: root/test/websock.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/websock.js')
-rw-r--r--test/websock.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/websock.js b/test/websock.js
index 1ba136b4..84465588 100644
--- a/test/websock.js
+++ b/test/websock.js
@@ -29,7 +29,7 @@ AfbWsItf = (function(){
function AfbWsItf(base, onopen, onabort, ctx) {
var wl = window.location;
var u = "ws://"+wl.host+"/"+base;
- this.ws = new (WebSocket || MozWebSocket)(u, [ "afb1", "afb2" ]);
+ this.ws = new (WebSocket || MozWebSocket)(u, [ "x-afb-ws-json1" ]);
this.pendings = {};
this.counter = 0;
this.ctx = ctx || new AfbCtxItf();