Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
new websocket handling
[src/app-framework-binder.git]
/
test
/
websock.js
diff --git
a/test/websock.js
b/test/websock.js
index
1ba136b
..
8446558
100644
(file)
--- 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;
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();
this.pendings = {};
this.counter = 0;
this.ctx = ctx || new AfbCtxItf();