File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
javascript/ql/test/library-tests/frameworks/SocketIO Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ test_NamespaceNode
30
30
| tst.js:68:1:68:35 | io.on(' ... => {}) | socket.io namespace with path '/' |
31
31
| tst.js:69:1:69:32 | ns.on(' ... => {}) | socket.io namespace with path '/' |
32
32
| tst.js:70:1:74:2 | ns.on(' ... {});\\n}) | socket.io namespace with path '/' |
33
+ | tst.js:85:1:85:37 | io.on(' ... , "x")) | socket.io namespace with path '/' |
33
34
test_ClientReceiveNode_getASender
34
35
| client2.js:4:1:6:2 | sock.on ... y);\\n}) | tst.js:30:1:30:28 | ns.emit ... event') |
35
36
| client2.js:4:1:6:2 | sock.on ... y);\\n}) | tst.js:31:1:31:20 | ns.send('a message') |
@@ -171,6 +172,7 @@ test_ServerNode
171
172
| tst.js:50:1:67:2 | io.on(' ... t');\\n}) | tst.js:1:12:1:33 | require ... .io')() |
172
173
| tst.js:68:1:68:35 | io.on(' ... => {}) | tst.js:1:12:1:33 | require ... .io')() |
173
174
| tst.js:80:1:80:10 | obj.server | tst.js:1:12:1:33 | require ... .io')() |
175
+ | tst.js:85:1:85:37 | io.on(' ... , "x")) | tst.js:1:12:1:33 | require ... .io')() |
174
176
test_ClientSendNode_getAReceiver
175
177
| client2.js:14:1:14:32 | sock.em ... there") | tst.js:71:3:71:35 | socket. ... => {}) |
176
178
| client2.js:14:1:14:32 | sock.em ... there") | tst.js:72:3:72:46 | socket. ... => {}) |
Original file line number Diff line number Diff line change @@ -80,3 +80,6 @@ var obj = {
80
80
obj . server ; // SocketIO::ServerNode
81
81
obj . serveClient ( false ) ; // not a SocketIO::ServerNode
82
82
obj . serveClient ( false ) . server ; // not a SocketIO::ServerNode
83
+
84
+ function foo ( x , socket ) { }
85
+ io . on ( 'connect' , foo . bind ( null , "x" ) ) ;
You can’t perform that action at this time.
0 commit comments