mirror of
https://github.com/github/codeql.git
synced 2026-04-27 17:55:19 +02:00
JavaScript: Consolidate tests.
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
| client2.js:16:12:16:25 | "do you copy?" | tst.js:70:25:70:27 | msg |
|
||||
| client2.js:16:12:16:25 | "do you copy?" | tst.js:71:27:71:31 | data1 |
|
||||
| client3.js:1:8:1:9 | io | client3.js:1:8:1:9 | io |
|
||||
| tst.js:30:18:30:27 | 'an event' | client2.js:8:23:8:25 | msg |
|
||||
| tst.js:30:18:30:27 | 'an event' | client2.js:10:19:10:19 | x |
|
||||
| tst.js:31:9:31:19 | 'a message' | client2.js:4:21:4:21 | x |
|
||||
| tst.js:31:9:31:19 | 'a message' | client2.js:8:23:8:25 | msg |
|
||||
| tst.js:32:11:32:21 | 'a message' | client2.js:18:22:18:22 | x |
|
||||
| tst.js:39:20:39:30 | 'a message' | client2.js:4:21:4:21 | x |
|
||||
| tst.js:39:20:39:30 | 'a message' | client2.js:8:23:8:25 | msg |
|
||||
| tst.js:40:9:40:19 | 'a message' | client2.js:4:21:4:21 | x |
|
||||
| tst.js:40:9:40:19 | 'a message' | client2.js:8:23:8:25 | msg |
|
||||
| tst.js:41:10:41:20 | 'a message' | client2.js:4:21:4:21 | x |
|
||||
| tst.js:41:10:41:20 | 'a message' | client2.js:8:23:8:25 | msg |
|
||||
| tst.js:54:15:54:17 | 'a' | client2.js:4:21:4:21 | x |
|
||||
| tst.js:54:15:54:17 | 'a' | client2.js:8:23:8:25 | msg |
|
||||
| tst.js:54:20:54:28 | 'message' | client2.js:4:24:4:24 | y |
|
||||
| tst.js:55:16:55:26 | 'a message' | client2.js:4:21:4:21 | x |
|
||||
| tst.js:55:16:55:26 | 'a message' | client2.js:8:23:8:25 | msg |
|
||||
@@ -1,5 +0,0 @@
|
||||
import javascript
|
||||
|
||||
from DataFlow::AdditionalFlowStep step, DataFlow::Node pred, DataFlow::Node succ
|
||||
where step.step(pred, succ)
|
||||
select pred, succ
|
||||
@@ -0,0 +1,5 @@
|
||||
import javascript
|
||||
|
||||
query predicate test_AdditionalFlowStep(DataFlow::Node pred, DataFlow::Node succ) {
|
||||
exists(DataFlow::AdditionalFlowStep step | step.step(pred, succ) | any())
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
| client2.js:4:1:6:2 | sock.on ... y);\\n}) | client2.js:1:12:1:56 | require ... lhost") |
|
||||
| client2.js:8:1:8:33 | sock.on ... => {}) | client2.js:1:12:1:56 | require ... lhost") |
|
||||
| client2.js:10:1:12:2 | sock.on ... d");\\n}) | client2.js:1:12:1:56 | require ... lhost") |
|
||||
| client2.js:18:1:20:2 | sock2.o ... (x);\\n}) | client2.js:2:13:2:85 | require ... v#abc") |
|
||||
@@ -1,4 +0,0 @@
|
||||
import javascript
|
||||
|
||||
from SocketIOClient::ReceiveNode rn
|
||||
select rn, rn.getSocket()
|
||||
@@ -0,0 +1,7 @@
|
||||
import javascript
|
||||
|
||||
query predicate test_ClientReceiveNode(
|
||||
SocketIOClient::ReceiveNode rn, SocketIOClient::SocketNode res
|
||||
) {
|
||||
res = rn.getSocket()
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
| client2.js:4:1:6:2 | sock.on ... y);\\n}) | tst.js:31:1:31:20 | ns.send('a message') |
|
||||
| client2.js:4:1:6:2 | sock.on ... y);\\n}) | tst.js:39:1:39:31 | io.emit ... ssage') |
|
||||
| client2.js:4:1:6:2 | sock.on ... y);\\n}) | tst.js:40:1:40:20 | io.send('a message') |
|
||||
| client2.js:4:1:6:2 | sock.on ... y);\\n}) | tst.js:41:1:41:21 | io.writ ... ssage') |
|
||||
| client2.js:4:1:6:2 | sock.on ... y);\\n}) | tst.js:54:3:54:43 | socket. ... => {}) |
|
||||
| client2.js:4:1:6:2 | sock.on ... y);\\n}) | tst.js:55:3:55:27 | socket. ... ssage') |
|
||||
| client2.js:8:1:8:33 | sock.on ... => {}) | tst.js:30:1:30:28 | ns.emit ... event') |
|
||||
| client2.js:8:1:8:33 | sock.on ... => {}) | tst.js:31:1:31:20 | ns.send('a message') |
|
||||
| client2.js:8:1:8:33 | sock.on ... => {}) | tst.js:39:1:39:31 | io.emit ... ssage') |
|
||||
| client2.js:8:1:8:33 | sock.on ... => {}) | tst.js:40:1:40:20 | io.send('a message') |
|
||||
| client2.js:8:1:8:33 | sock.on ... => {}) | tst.js:41:1:41:21 | io.writ ... ssage') |
|
||||
| client2.js:8:1:8:33 | sock.on ... => {}) | tst.js:51:3:51:22 | socket.emit('event') |
|
||||
| client2.js:8:1:8:33 | sock.on ... => {}) | tst.js:54:3:54:43 | socket. ... => {}) |
|
||||
| client2.js:8:1:8:33 | sock.on ... => {}) | tst.js:55:3:55:27 | socket. ... ssage') |
|
||||
| client2.js:10:1:12:2 | sock.on ... d");\\n}) | tst.js:30:1:30:28 | ns.emit ... event') |
|
||||
| client2.js:10:1:12:2 | sock.on ... d");\\n}) | tst.js:51:3:51:22 | socket.emit('event') |
|
||||
| client2.js:18:1:20:2 | sock2.o ... (x);\\n}) | tst.js:32:1:32:22 | ns2.wri ... ssage') |
|
||||
@@ -1,4 +0,0 @@
|
||||
import javascript
|
||||
|
||||
from SocketIOClient::ReceiveNode rn
|
||||
select rn, rn.getASender()
|
||||
@@ -0,0 +1,7 @@
|
||||
import javascript
|
||||
|
||||
query predicate test_ClientReceiveNode_getASender(
|
||||
SocketIOClient::ReceiveNode rn, SocketIO::SendNode res
|
||||
) {
|
||||
res = rn.getASender()
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
| client2.js:10:1:12:2 | sock.on ... d");\\n}) | client2.js:10:22:10:23 | cb |
|
||||
@@ -1,4 +0,0 @@
|
||||
import javascript
|
||||
|
||||
from SocketIOClient::ReceiveNode rn
|
||||
select rn, rn.getAck()
|
||||
@@ -0,0 +1,7 @@
|
||||
import javascript
|
||||
|
||||
query predicate test_ClientReceiveNode_getAck(
|
||||
SocketIOClient::ReceiveNode rn, DataFlow::SourceNode res
|
||||
) {
|
||||
res = rn.getAck()
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
| client2.js:4:1:6:2 | sock.on ... y);\\n}) | message |
|
||||
| client2.js:10:1:12:2 | sock.on ... d");\\n}) | event |
|
||||
| client2.js:18:1:20:2 | sock2.o ... (x);\\n}) | message |
|
||||
@@ -1,4 +0,0 @@
|
||||
import javascript
|
||||
|
||||
from SocketIOClient::ReceiveNode rn
|
||||
select rn, rn.getEventName()
|
||||
@@ -0,0 +1,5 @@
|
||||
import javascript
|
||||
|
||||
query predicate test_ClientReceiveNode_getEventName(SocketIOClient::ReceiveNode rn, string res) {
|
||||
res = rn.getEventName()
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
| client2.js:4:1:6:2 | sock.on ... y);\\n}) | 0 | client2.js:4:21:4:21 | x |
|
||||
| client2.js:4:1:6:2 | sock.on ... y);\\n}) | 1 | client2.js:4:24:4:24 | y |
|
||||
| client2.js:8:1:8:33 | sock.on ... => {}) | 0 | client2.js:8:23:8:25 | msg |
|
||||
| client2.js:10:1:12:2 | sock.on ... d");\\n}) | 0 | client2.js:10:19:10:19 | x |
|
||||
| client2.js:18:1:20:2 | sock2.o ... (x);\\n}) | 0 | client2.js:18:22:18:22 | x |
|
||||
@@ -1,4 +0,0 @@
|
||||
import javascript
|
||||
|
||||
from SocketIOClient::ReceiveNode rn, int i
|
||||
select rn, i, rn.getReceivedItem(i)
|
||||
@@ -0,0 +1,7 @@
|
||||
import javascript
|
||||
|
||||
query predicate test_ClientReceiveNode_getReceivedItem(
|
||||
SocketIOClient::ReceiveNode rn, int i, DataFlow::SourceNode res
|
||||
) {
|
||||
res = rn.getReceivedItem(i)
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
| client2.js:14:1:14:32 | sock.em ... there") | client2.js:1:12:1:56 | require ... lhost") | / |
|
||||
| client2.js:16:1:16:36 | sock.wr ... => {}) | client2.js:1:12:1:56 | require ... lhost") | / |
|
||||
@@ -1,4 +0,0 @@
|
||||
import javascript
|
||||
|
||||
from SocketIOClient::SendNode sn
|
||||
select sn, sn.getSocket(), sn.getNamespacePath()
|
||||
@@ -0,0 +1,7 @@
|
||||
import javascript
|
||||
|
||||
query predicate test_ClientSendNode(
|
||||
SocketIOClient::SendNode sn, SocketIOClient::SocketNode res0, string res1
|
||||
) {
|
||||
res0 = sn.getSocket() and res1 = sn.getNamespacePath()
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
| client2.js:14:1:14:32 | sock.em ... there") | tst.js:72:3:72:43 | socket. ... => {}) |
|
||||
| client2.js:16:1:16:36 | sock.wr ... => {}) | tst.js:70:3:70:35 | socket. ... => {}) |
|
||||
| client2.js:16:1:16:36 | sock.wr ... => {}) | tst.js:71:3:71:46 | socket. ... => {}) |
|
||||
| client2.js:16:1:16:36 | sock.wr ... => {}) | tst.js:72:3:72:43 | socket. ... => {}) |
|
||||
@@ -1,4 +0,0 @@
|
||||
import javascript
|
||||
|
||||
from SocketIOClient::SendNode sn
|
||||
select sn, sn.getAReceiver()
|
||||
@@ -0,0 +1,7 @@
|
||||
import javascript
|
||||
|
||||
query predicate test_ClientSendNode_getAReceiver(
|
||||
SocketIOClient::SendNode sn, SocketIO::ReceiveNode res
|
||||
) {
|
||||
res = sn.getAReceiver()
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
| client2.js:16:1:16:36 | sock.wr ... => {}) | client2.js:16:28:16:35 | () => {} |
|
||||
@@ -1,4 +0,0 @@
|
||||
import javascript
|
||||
|
||||
from SocketIOClient::SendNode sn
|
||||
select sn, sn.getAck()
|
||||
@@ -0,0 +1,5 @@
|
||||
import javascript
|
||||
|
||||
query predicate test_ClientSendNode_getAck(SocketIOClient::SendNode sn, DataFlow::FunctionNode res) {
|
||||
res = sn.getAck()
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
| client2.js:14:1:14:32 | sock.em ... there") | data |
|
||||
| client2.js:16:1:16:36 | sock.wr ... => {}) | message |
|
||||
@@ -1,4 +0,0 @@
|
||||
import javascript
|
||||
|
||||
from SocketIOClient::SendNode sn
|
||||
select sn, sn.getEventName()
|
||||
@@ -0,0 +1,5 @@
|
||||
import javascript
|
||||
|
||||
query predicate test_ClientSendNode_getEventName(SocketIOClient::SendNode sn, string res) {
|
||||
res = sn.getEventName()
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
| client2.js:14:1:14:32 | sock.em ... there") | 0 | client2.js:14:19:14:22 | "hi" |
|
||||
| client2.js:14:1:14:32 | sock.em ... there") | 1 | client2.js:14:25:14:31 | "there" |
|
||||
| client2.js:16:1:16:36 | sock.wr ... => {}) | 0 | client2.js:16:12:16:25 | "do you copy?" |
|
||||
@@ -1,4 +0,0 @@
|
||||
import javascript
|
||||
|
||||
from SocketIOClient::SendNode sn, int i
|
||||
select sn, i, sn.getSentItem(i)
|
||||
@@ -0,0 +1,7 @@
|
||||
import javascript
|
||||
|
||||
query predicate test_ClientSendNode_getSentItem(
|
||||
SocketIOClient::SendNode sn, int i, DataFlow::Node res
|
||||
) {
|
||||
res = sn.getSentItem(i)
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
| client1.js:1:1:1:4 | io() | / |
|
||||
| client1.js:2:1:2:23 | io.conn ... sages") | /messages |
|
||||
| client2.js:1:12:1:56 | require ... lhost") | / |
|
||||
| client2.js:2:13:2:85 | require ... v#abc") | /foo/bar |
|
||||
| client3.js:3:1:3:4 | io() | / |
|
||||
@@ -1,4 +0,0 @@
|
||||
import javascript
|
||||
|
||||
from SocketIOClient::SocketNode sn
|
||||
select sn, sn.getNamespacePath()
|
||||
@@ -0,0 +1,5 @@
|
||||
import javascript
|
||||
|
||||
query predicate test_ClientSocketNode(SocketIOClient::SocketNode sn, string res) {
|
||||
res = sn.getNamespacePath()
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
| tst.js:25:10:25:19 | io.sockets | socket.io namespace with path '/' |
|
||||
| tst.js:26:11:26:27 | io.of("/foo/bar") | socket.io namespace with path '/foo/bar' |
|
||||
| tst.js:27:1:27:12 | ns.use(auth) | socket.io namespace with path '/' |
|
||||
| tst.js:28:1:28:11 | ns.to(room) | socket.io namespace with path '/' |
|
||||
| tst.js:29:1:29:11 | ns.in(room) | socket.io namespace with path '/' |
|
||||
| tst.js:30:1:30:28 | ns.emit ... event') | socket.io namespace with path '/' |
|
||||
| tst.js:31:1:31:20 | ns.send('a message') | socket.io namespace with path '/' |
|
||||
| tst.js:32:1:32:22 | ns2.wri ... ssage') | socket.io namespace with path '/foo/bar' |
|
||||
| tst.js:33:1:33:14 | ns.clients(cb) | socket.io namespace with path '/' |
|
||||
| tst.js:34:1:34:17 | ns.compress(true) | socket.io namespace with path '/' |
|
||||
| tst.js:35:1:35:16 | ns.binary(false) | socket.io namespace with path '/' |
|
||||
| tst.js:36:1:36:12 | io.use(auth) | socket.io namespace with path '/' |
|
||||
| tst.js:37:1:37:11 | io.to(room) | socket.io namespace with path '/' |
|
||||
| tst.js:38:1:38:11 | io.in(room) | socket.io namespace with path '/' |
|
||||
| tst.js:39:1:39:31 | io.emit ... ssage') | socket.io namespace with path '/' |
|
||||
| tst.js:40:1:40:20 | io.send('a message') | socket.io namespace with path '/' |
|
||||
| tst.js:41:1:41:21 | io.writ ... ssage') | socket.io namespace with path '/' |
|
||||
| tst.js:42:1:42:14 | io.clients(cb) | socket.io namespace with path '/' |
|
||||
| tst.js:43:1:43:17 | io.compress(true) | socket.io namespace with path '/' |
|
||||
| tst.js:44:1:44:16 | io.binary(false) | socket.io namespace with path '/' |
|
||||
| tst.js:45:1:45:7 | ns.json | socket.io namespace with path '/' |
|
||||
| tst.js:46:1:46:11 | ns.volatile | socket.io namespace with path '/' |
|
||||
| tst.js:47:1:47:8 | ns.local | socket.io namespace with path '/' |
|
||||
| tst.js:50:1:66:2 | io.on(' ... cal;\\n}) | socket.io namespace with path '/' |
|
||||
| tst.js:67:1:67:35 | io.on(' ... => {}) | socket.io namespace with path '/' |
|
||||
| tst.js:68:1:68:32 | ns.on(' ... => {}) | socket.io namespace with path '/' |
|
||||
| tst.js:69:1:73:2 | ns.on(' ... {});\\n}) | socket.io namespace with path '/' |
|
||||
@@ -1,4 +0,0 @@
|
||||
import javascript
|
||||
|
||||
from SocketIO::NamespaceNode ns
|
||||
select ns, ns.getNamespace()
|
||||
@@ -0,0 +1,5 @@
|
||||
import javascript
|
||||
|
||||
query predicate test_NamespaceNode(SocketIO::NamespaceNode ns, SocketIO::NamespaceObject res) {
|
||||
res = ns.getNamespace()
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
| socket.io namespace with path '/' | tst.js:1:12:1:33 | socket.io server | / |
|
||||
| socket.io namespace with path '/' | tst.js:4:13:4:24 | socket.io server | / |
|
||||
| socket.io namespace with path '/' | tst.js:6:13:6:27 | socket.io server | / |
|
||||
| socket.io namespace with path '/foo/bar' | tst.js:1:12:1:33 | socket.io server | /foo/bar |
|
||||
@@ -1,4 +0,0 @@
|
||||
import javascript
|
||||
|
||||
from SocketIO::NamespaceObject ns
|
||||
select ns, ns.getServer(), ns.getPath()
|
||||
@@ -0,0 +1,7 @@
|
||||
import javascript
|
||||
|
||||
query predicate test_NamespaceObject(
|
||||
SocketIO::NamespaceObject ns, SocketIO::ServerObject res0, string res1
|
||||
) {
|
||||
res0 = ns.getServer() and res1 = ns.getPath()
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
| tst.js:70:3:70:35 | socket. ... => {}) | tst.js:69:22:69:27 | socket |
|
||||
| tst.js:71:3:71:46 | socket. ... => {}) | tst.js:69:22:69:27 | socket |
|
||||
| tst.js:72:3:72:43 | socket. ... => {}) | tst.js:69:22:69:27 | socket |
|
||||
@@ -1,4 +0,0 @@
|
||||
import javascript
|
||||
|
||||
from SocketIO::ReceiveNode rn
|
||||
select rn, rn.getSocket()
|
||||
@@ -0,0 +1,5 @@
|
||||
import javascript
|
||||
|
||||
query predicate test_ReceiveNode(SocketIO::ReceiveNode rn, SocketIO::SocketNode res) {
|
||||
res = rn.getSocket()
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
| tst.js:70:3:70:35 | socket. ... => {}) | client2.js:16:1:16:36 | sock.wr ... => {}) |
|
||||
| tst.js:71:3:71:46 | socket. ... => {}) | client2.js:16:1:16:36 | sock.wr ... => {}) |
|
||||
| tst.js:72:3:72:43 | socket. ... => {}) | client2.js:14:1:14:32 | sock.em ... there") |
|
||||
| tst.js:72:3:72:43 | socket. ... => {}) | client2.js:16:1:16:36 | sock.wr ... => {}) |
|
||||
@@ -1,4 +0,0 @@
|
||||
import javascript
|
||||
|
||||
from SocketIO::ReceiveNode rn
|
||||
select rn, rn.getASender()
|
||||
@@ -0,0 +1,5 @@
|
||||
import javascript
|
||||
|
||||
query predicate test_ReceiveNode_getASender(SocketIO::ReceiveNode rn, SocketIOClient::SendNode res) {
|
||||
res = rn.getASender()
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
| tst.js:70:3:70:35 | socket. ... => {}) | message |
|
||||
| tst.js:71:3:71:46 | socket. ... => {}) | message |
|
||||
@@ -1,4 +0,0 @@
|
||||
import javascript
|
||||
|
||||
from SocketIO::ReceiveNode rn
|
||||
select rn, rn.getEventName()
|
||||
@@ -0,0 +1,5 @@
|
||||
import javascript
|
||||
|
||||
query predicate test_ReceiveNode_getEventName(SocketIO::ReceiveNode rn, string res) {
|
||||
res = rn.getEventName()
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
| tst.js:70:3:70:35 | socket. ... => {}) | 0 | tst.js:70:25:70:27 | msg |
|
||||
| tst.js:71:3:71:46 | socket. ... => {}) | 0 | tst.js:71:27:71:31 | data1 |
|
||||
| tst.js:71:3:71:46 | socket. ... => {}) | 1 | tst.js:71:34:71:38 | data2 |
|
||||
@@ -1,4 +0,0 @@
|
||||
import javascript
|
||||
|
||||
from SocketIO::ReceiveNode rn, int i
|
||||
select rn, i, rn.getReceivedItem(i)
|
||||
@@ -0,0 +1,7 @@
|
||||
import javascript
|
||||
|
||||
query predicate test_ReceiveNode_getReceivedItem(
|
||||
SocketIO::ReceiveNode rn, int i, DataFlow::SourceNode res
|
||||
) {
|
||||
res = rn.getReceivedItem(i)
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
| tst.js:30:1:30:28 | ns.emit ... event') | socket.io namespace with path '/' |
|
||||
| tst.js:31:1:31:20 | ns.send('a message') | socket.io namespace with path '/' |
|
||||
| tst.js:32:1:32:22 | ns2.wri ... ssage') | socket.io namespace with path '/foo/bar' |
|
||||
| tst.js:39:1:39:31 | io.emit ... ssage') | socket.io namespace with path '/' |
|
||||
| tst.js:40:1:40:20 | io.send('a message') | socket.io namespace with path '/' |
|
||||
| tst.js:41:1:41:21 | io.writ ... ssage') | socket.io namespace with path '/' |
|
||||
| tst.js:51:3:51:22 | socket.emit('event') | socket.io namespace with path '/' |
|
||||
| tst.js:54:3:54:43 | socket. ... => {}) | socket.io namespace with path '/' |
|
||||
| tst.js:55:3:55:27 | socket. ... ssage') | socket.io namespace with path '/' |
|
||||
@@ -1,4 +0,0 @@
|
||||
import javascript
|
||||
|
||||
from SocketIO::SendNode sn
|
||||
select sn, sn.getNamespace()
|
||||
@@ -0,0 +1,5 @@
|
||||
import javascript
|
||||
|
||||
query predicate test_SendNode(SocketIO::SendNode sn, SocketIO::NamespaceObject res) {
|
||||
res = sn.getNamespace()
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
| tst.js:30:1:30:28 | ns.emit ... event') | client2.js:8:1:8:33 | sock.on ... => {}) |
|
||||
| tst.js:30:1:30:28 | ns.emit ... event') | client2.js:10:1:12:2 | sock.on ... d");\\n}) |
|
||||
| tst.js:31:1:31:20 | ns.send('a message') | client2.js:4:1:6:2 | sock.on ... y);\\n}) |
|
||||
| tst.js:31:1:31:20 | ns.send('a message') | client2.js:8:1:8:33 | sock.on ... => {}) |
|
||||
| tst.js:32:1:32:22 | ns2.wri ... ssage') | client2.js:18:1:20:2 | sock2.o ... (x);\\n}) |
|
||||
| tst.js:39:1:39:31 | io.emit ... ssage') | client2.js:4:1:6:2 | sock.on ... y);\\n}) |
|
||||
| tst.js:39:1:39:31 | io.emit ... ssage') | client2.js:8:1:8:33 | sock.on ... => {}) |
|
||||
| tst.js:40:1:40:20 | io.send('a message') | client2.js:4:1:6:2 | sock.on ... y);\\n}) |
|
||||
| tst.js:40:1:40:20 | io.send('a message') | client2.js:8:1:8:33 | sock.on ... => {}) |
|
||||
| tst.js:41:1:41:21 | io.writ ... ssage') | client2.js:4:1:6:2 | sock.on ... y);\\n}) |
|
||||
| tst.js:41:1:41:21 | io.writ ... ssage') | client2.js:8:1:8:33 | sock.on ... => {}) |
|
||||
| tst.js:51:3:51:22 | socket.emit('event') | client2.js:8:1:8:33 | sock.on ... => {}) |
|
||||
| tst.js:51:3:51:22 | socket.emit('event') | client2.js:10:1:12:2 | sock.on ... d");\\n}) |
|
||||
| tst.js:54:3:54:43 | socket. ... => {}) | client2.js:4:1:6:2 | sock.on ... y);\\n}) |
|
||||
| tst.js:54:3:54:43 | socket. ... => {}) | client2.js:8:1:8:33 | sock.on ... => {}) |
|
||||
| tst.js:55:3:55:27 | socket. ... ssage') | client2.js:4:1:6:2 | sock.on ... y);\\n}) |
|
||||
| tst.js:55:3:55:27 | socket. ... ssage') | client2.js:8:1:8:33 | sock.on ... => {}) |
|
||||
@@ -1,4 +0,0 @@
|
||||
import javascript
|
||||
|
||||
from SocketIO::SendNode sn
|
||||
select sn, sn.getAReceiver()
|
||||
@@ -0,0 +1,5 @@
|
||||
import javascript
|
||||
|
||||
query predicate test_SendNode_getAReceiver(SocketIO::SendNode sn, SocketIOClient::ReceiveNode res) {
|
||||
res = sn.getAReceiver()
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
| tst.js:54:3:54:43 | socket. ... => {}) | tst.js:54:31:54:42 | (data) => {} |
|
||||
@@ -1,4 +0,0 @@
|
||||
import javascript
|
||||
|
||||
from SocketIO::SendNode sn
|
||||
select sn, sn.getAck()
|
||||
@@ -0,0 +1,5 @@
|
||||
import javascript
|
||||
|
||||
query predicate test_SendNode_getAck(SocketIO::SendNode sn, DataFlow::FunctionNode res) {
|
||||
res = sn.getAck()
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
| tst.js:30:1:30:28 | ns.emit ... event') | 0 | tst.js:30:18:30:27 | 'an event' |
|
||||
| tst.js:31:1:31:20 | ns.send('a message') | 0 | tst.js:31:9:31:19 | 'a message' |
|
||||
| tst.js:32:1:32:22 | ns2.wri ... ssage') | 0 | tst.js:32:11:32:21 | 'a message' |
|
||||
| tst.js:39:1:39:31 | io.emit ... ssage') | 0 | tst.js:39:20:39:30 | 'a message' |
|
||||
| tst.js:40:1:40:20 | io.send('a message') | 0 | tst.js:40:9:40:19 | 'a message' |
|
||||
| tst.js:41:1:41:21 | io.writ ... ssage') | 0 | tst.js:41:10:41:20 | 'a message' |
|
||||
| tst.js:54:3:54:43 | socket. ... => {}) | 0 | tst.js:54:15:54:17 | 'a' |
|
||||
| tst.js:54:3:54:43 | socket. ... => {}) | 1 | tst.js:54:20:54:28 | 'message' |
|
||||
| tst.js:55:3:55:27 | socket. ... ssage') | 0 | tst.js:55:16:55:26 | 'a message' |
|
||||
@@ -1,4 +0,0 @@
|
||||
import javascript
|
||||
|
||||
from SocketIO::SendNode sn, int i
|
||||
select sn, i, sn.getSentItem(i)
|
||||
@@ -0,0 +1,5 @@
|
||||
import javascript
|
||||
|
||||
query predicate test_SendNode_getSentItem(SocketIO::SendNode sn, int i, DataFlow::Node res) {
|
||||
res = sn.getSentItem(i)
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
| tst.js:51:3:51:22 | socket.emit('event') | tst.js:50:19:50:24 | socket |
|
||||
| tst.js:54:3:54:43 | socket. ... => {}) | tst.js:50:19:50:24 | socket |
|
||||
| tst.js:55:3:55:27 | socket. ... ssage') | tst.js:50:19:50:24 | socket |
|
||||
@@ -1,4 +0,0 @@
|
||||
import javascript
|
||||
|
||||
from SocketIO::SendNode sn
|
||||
select sn, sn.getSocket()
|
||||
@@ -0,0 +1,5 @@
|
||||
import javascript
|
||||
|
||||
query predicate test_SendNode_getSocket(SocketIO::SendNode sn, SocketIO::SocketNode res) {
|
||||
res = sn.getSocket()
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
| tst.js:1:12:1:33 | require ... .io')() | tst.js:1:12:1:33 | socket.io server |
|
||||
| tst.js:4:13:4:24 | new Server() | tst.js:4:13:4:24 | socket.io server |
|
||||
| tst.js:6:13:6:27 | Server.listen() | tst.js:6:13:6:27 | socket.io server |
|
||||
| tst.js:9:1:9:21 | io.serv ... (false) | tst.js:1:12:1:33 | socket.io server |
|
||||
| tst.js:10:1:10:21 | io.set( ... s', []) | tst.js:1:12:1:33 | socket.io server |
|
||||
| tst.js:11:1:11:21 | io.path ... npath') | tst.js:1:12:1:33 | socket.io server |
|
||||
| tst.js:12:1:12:15 | io.adapter(foo) | tst.js:1:12:1:33 | socket.io server |
|
||||
| tst.js:13:1:13:14 | io.origins([]) | tst.js:1:12:1:33 | socket.io server |
|
||||
| tst.js:14:1:14:15 | io.listen(http) | tst.js:1:12:1:33 | socket.io server |
|
||||
| tst.js:15:1:15:15 | io.attach(http) | tst.js:1:12:1:33 | socket.io server |
|
||||
| tst.js:16:1:16:15 | io.bind(engine) | tst.js:1:12:1:33 | socket.io server |
|
||||
| tst.js:17:1:17:23 | io.onco ... socket) | tst.js:1:12:1:33 | socket.io server |
|
||||
@@ -1,4 +0,0 @@
|
||||
import javascript
|
||||
|
||||
from SocketIO::ServerNode srv
|
||||
select srv, srv.getServer()
|
||||
@@ -0,0 +1,5 @@
|
||||
import javascript
|
||||
|
||||
query predicate test_ServerNode(SocketIO::ServerNode srv, SocketIO::ServerObject res) {
|
||||
res = srv.getServer()
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
| tst.js:1:12:1:33 | socket.io server | tst.js:1:12:1:33 | require ... .io')() | socket.io namespace with path '/' |
|
||||
| tst.js:4:13:4:24 | socket.io server | tst.js:4:13:4:24 | new Server() | socket.io namespace with path '/' |
|
||||
| tst.js:6:13:6:27 | socket.io server | tst.js:6:13:6:27 | Server.listen() | socket.io namespace with path '/' |
|
||||
@@ -1,4 +0,0 @@
|
||||
import javascript
|
||||
|
||||
from SocketIO::ServerObject srv
|
||||
select srv, srv.getOrigin(), srv.getDefaultNamespace()
|
||||
@@ -0,0 +1,7 @@
|
||||
import javascript
|
||||
|
||||
query predicate test_ServerObject(
|
||||
SocketIO::ServerObject srv, DataFlow::SourceNode res0, SocketIO::NamespaceObject res1
|
||||
) {
|
||||
res0 = srv.getOrigin() and res1 = srv.getDefaultNamespace()
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
| tst.js:50:19:50:24 | socket | socket.io namespace with path '/' |
|
||||
| tst.js:51:3:51:22 | socket.emit('event') | socket.io namespace with path '/' |
|
||||
| tst.js:52:3:52:17 | socket.to(room) | socket.io namespace with path '/' |
|
||||
| tst.js:53:3:53:17 | socket.in(room) | socket.io namespace with path '/' |
|
||||
| tst.js:54:3:54:43 | socket. ... => {}) | socket.io namespace with path '/' |
|
||||
| tst.js:55:3:55:27 | socket. ... ssage') | socket.io namespace with path '/' |
|
||||
| tst.js:56:3:56:19 | socket.join(room) | socket.io namespace with path '/' |
|
||||
| tst.js:57:3:57:20 | socket.leave(room) | socket.io namespace with path '/' |
|
||||
| tst.js:58:3:58:16 | socket.use(cb) | socket.io namespace with path '/' |
|
||||
| tst.js:59:3:59:23 | socket. ... s(true) | socket.io namespace with path '/' |
|
||||
| tst.js:60:3:60:22 | socket.binary(false) | socket.io namespace with path '/' |
|
||||
| tst.js:61:3:61:25 | socket. ... t(true) | socket.io namespace with path '/' |
|
||||
| tst.js:62:3:62:13 | socket.json | socket.io namespace with path '/' |
|
||||
| tst.js:63:3:63:17 | socket.volatile | socket.io namespace with path '/' |
|
||||
| tst.js:64:3:64:18 | socket.broadcast | socket.io namespace with path '/' |
|
||||
| tst.js:65:3:65:14 | socket.local | socket.io namespace with path '/' |
|
||||
| tst.js:67:22:67:27 | socket | socket.io namespace with path '/' |
|
||||
| tst.js:68:19:68:24 | socket | socket.io namespace with path '/' |
|
||||
| tst.js:69:22:69:27 | socket | socket.io namespace with path '/' |
|
||||
| tst.js:70:3:70:35 | socket. ... => {}) | socket.io namespace with path '/' |
|
||||
| tst.js:71:3:71:46 | socket. ... => {}) | socket.io namespace with path '/' |
|
||||
| tst.js:72:3:72:43 | socket. ... => {}) | socket.io namespace with path '/' |
|
||||
@@ -1,4 +0,0 @@
|
||||
import javascript
|
||||
|
||||
from SocketIO::SocketNode sn
|
||||
select sn, sn.getNamespace()
|
||||
@@ -0,0 +1,5 @@
|
||||
import javascript
|
||||
|
||||
query predicate test_SocketNode(SocketIO::SocketNode sn, SocketIO::NamespaceObject res) {
|
||||
res = sn.getNamespace()
|
||||
}
|
||||
@@ -0,0 +1,211 @@
|
||||
test_ClientReceiveNode_getEventName
|
||||
| client2.js:4:1:6:2 | sock.on ... y);\\n}) | message |
|
||||
| client2.js:10:1:12:2 | sock.on ... d");\\n}) | event |
|
||||
| client2.js:18:1:20:2 | sock2.o ... (x);\\n}) | message |
|
||||
test_NamespaceNode
|
||||
| tst.js:25:10:25:19 | io.sockets | socket.io namespace with path '/' |
|
||||
| tst.js:26:11:26:27 | io.of("/foo/bar") | socket.io namespace with path '/foo/bar' |
|
||||
| tst.js:27:1:27:12 | ns.use(auth) | socket.io namespace with path '/' |
|
||||
| tst.js:28:1:28:11 | ns.to(room) | socket.io namespace with path '/' |
|
||||
| tst.js:29:1:29:11 | ns.in(room) | socket.io namespace with path '/' |
|
||||
| tst.js:30:1:30:28 | ns.emit ... event') | socket.io namespace with path '/' |
|
||||
| tst.js:31:1:31:20 | ns.send('a message') | socket.io namespace with path '/' |
|
||||
| tst.js:32:1:32:22 | ns2.wri ... ssage') | socket.io namespace with path '/foo/bar' |
|
||||
| tst.js:33:1:33:14 | ns.clients(cb) | socket.io namespace with path '/' |
|
||||
| tst.js:34:1:34:17 | ns.compress(true) | socket.io namespace with path '/' |
|
||||
| tst.js:35:1:35:16 | ns.binary(false) | socket.io namespace with path '/' |
|
||||
| tst.js:36:1:36:12 | io.use(auth) | socket.io namespace with path '/' |
|
||||
| tst.js:37:1:37:11 | io.to(room) | socket.io namespace with path '/' |
|
||||
| tst.js:38:1:38:11 | io.in(room) | socket.io namespace with path '/' |
|
||||
| tst.js:39:1:39:31 | io.emit ... ssage') | socket.io namespace with path '/' |
|
||||
| tst.js:40:1:40:20 | io.send('a message') | socket.io namespace with path '/' |
|
||||
| tst.js:41:1:41:21 | io.writ ... ssage') | socket.io namespace with path '/' |
|
||||
| tst.js:42:1:42:14 | io.clients(cb) | socket.io namespace with path '/' |
|
||||
| tst.js:43:1:43:17 | io.compress(true) | socket.io namespace with path '/' |
|
||||
| tst.js:44:1:44:16 | io.binary(false) | socket.io namespace with path '/' |
|
||||
| tst.js:45:1:45:7 | ns.json | socket.io namespace with path '/' |
|
||||
| tst.js:46:1:46:11 | ns.volatile | socket.io namespace with path '/' |
|
||||
| tst.js:47:1:47:8 | ns.local | socket.io namespace with path '/' |
|
||||
| tst.js:50:1:66:2 | io.on(' ... cal;\\n}) | socket.io namespace with path '/' |
|
||||
| tst.js:67:1:67:35 | io.on(' ... => {}) | socket.io namespace with path '/' |
|
||||
| tst.js:68:1:68:32 | ns.on(' ... => {}) | socket.io namespace with path '/' |
|
||||
| tst.js:69:1:73:2 | ns.on(' ... {});\\n}) | socket.io namespace with path '/' |
|
||||
test_ClientReceiveNode_getASender
|
||||
| client2.js:4:1:6:2 | sock.on ... y);\\n}) | tst.js:31:1:31:20 | ns.send('a message') |
|
||||
| client2.js:4:1:6:2 | sock.on ... y);\\n}) | tst.js:39:1:39:31 | io.emit ... ssage') |
|
||||
| client2.js:4:1:6:2 | sock.on ... y);\\n}) | tst.js:40:1:40:20 | io.send('a message') |
|
||||
| client2.js:4:1:6:2 | sock.on ... y);\\n}) | tst.js:41:1:41:21 | io.writ ... ssage') |
|
||||
| client2.js:4:1:6:2 | sock.on ... y);\\n}) | tst.js:54:3:54:43 | socket. ... => {}) |
|
||||
| client2.js:4:1:6:2 | sock.on ... y);\\n}) | tst.js:55:3:55:27 | socket. ... ssage') |
|
||||
| client2.js:8:1:8:33 | sock.on ... => {}) | tst.js:30:1:30:28 | ns.emit ... event') |
|
||||
| client2.js:8:1:8:33 | sock.on ... => {}) | tst.js:31:1:31:20 | ns.send('a message') |
|
||||
| client2.js:8:1:8:33 | sock.on ... => {}) | tst.js:39:1:39:31 | io.emit ... ssage') |
|
||||
| client2.js:8:1:8:33 | sock.on ... => {}) | tst.js:40:1:40:20 | io.send('a message') |
|
||||
| client2.js:8:1:8:33 | sock.on ... => {}) | tst.js:41:1:41:21 | io.writ ... ssage') |
|
||||
| client2.js:8:1:8:33 | sock.on ... => {}) | tst.js:51:3:51:22 | socket.emit('event') |
|
||||
| client2.js:8:1:8:33 | sock.on ... => {}) | tst.js:54:3:54:43 | socket. ... => {}) |
|
||||
| client2.js:8:1:8:33 | sock.on ... => {}) | tst.js:55:3:55:27 | socket. ... ssage') |
|
||||
| client2.js:10:1:12:2 | sock.on ... d");\\n}) | tst.js:30:1:30:28 | ns.emit ... event') |
|
||||
| client2.js:10:1:12:2 | sock.on ... d");\\n}) | tst.js:51:3:51:22 | socket.emit('event') |
|
||||
| client2.js:18:1:20:2 | sock2.o ... (x);\\n}) | tst.js:32:1:32:22 | ns2.wri ... ssage') |
|
||||
test_ReceiveNode
|
||||
| tst.js:70:3:70:35 | socket. ... => {}) | tst.js:69:22:69:27 | socket |
|
||||
| tst.js:71:3:71:46 | socket. ... => {}) | tst.js:69:22:69:27 | socket |
|
||||
| tst.js:72:3:72:43 | socket. ... => {}) | tst.js:69:22:69:27 | socket |
|
||||
test_SendNode_getSentItem
|
||||
| tst.js:30:1:30:28 | ns.emit ... event') | 0 | tst.js:30:18:30:27 | 'an event' |
|
||||
| tst.js:31:1:31:20 | ns.send('a message') | 0 | tst.js:31:9:31:19 | 'a message' |
|
||||
| tst.js:32:1:32:22 | ns2.wri ... ssage') | 0 | tst.js:32:11:32:21 | 'a message' |
|
||||
| tst.js:39:1:39:31 | io.emit ... ssage') | 0 | tst.js:39:20:39:30 | 'a message' |
|
||||
| tst.js:40:1:40:20 | io.send('a message') | 0 | tst.js:40:9:40:19 | 'a message' |
|
||||
| tst.js:41:1:41:21 | io.writ ... ssage') | 0 | tst.js:41:10:41:20 | 'a message' |
|
||||
| tst.js:54:3:54:43 | socket. ... => {}) | 0 | tst.js:54:15:54:17 | 'a' |
|
||||
| tst.js:54:3:54:43 | socket. ... => {}) | 1 | tst.js:54:20:54:28 | 'message' |
|
||||
| tst.js:55:3:55:27 | socket. ... ssage') | 0 | tst.js:55:16:55:26 | 'a message' |
|
||||
test_AdditionalFlowStep
|
||||
| client2.js:16:12:16:25 | "do you copy?" | tst.js:70:25:70:27 | msg |
|
||||
| client2.js:16:12:16:25 | "do you copy?" | tst.js:71:27:71:31 | data1 |
|
||||
| client3.js:1:8:1:9 | io | client3.js:1:8:1:9 | io |
|
||||
| tst.js:30:18:30:27 | 'an event' | client2.js:8:23:8:25 | msg |
|
||||
| tst.js:30:18:30:27 | 'an event' | client2.js:10:19:10:19 | x |
|
||||
| tst.js:31:9:31:19 | 'a message' | client2.js:4:21:4:21 | x |
|
||||
| tst.js:31:9:31:19 | 'a message' | client2.js:8:23:8:25 | msg |
|
||||
| tst.js:32:11:32:21 | 'a message' | client2.js:18:22:18:22 | x |
|
||||
| tst.js:39:20:39:30 | 'a message' | client2.js:4:21:4:21 | x |
|
||||
| tst.js:39:20:39:30 | 'a message' | client2.js:8:23:8:25 | msg |
|
||||
| tst.js:40:9:40:19 | 'a message' | client2.js:4:21:4:21 | x |
|
||||
| tst.js:40:9:40:19 | 'a message' | client2.js:8:23:8:25 | msg |
|
||||
| tst.js:41:10:41:20 | 'a message' | client2.js:4:21:4:21 | x |
|
||||
| tst.js:41:10:41:20 | 'a message' | client2.js:8:23:8:25 | msg |
|
||||
| tst.js:54:15:54:17 | 'a' | client2.js:4:21:4:21 | x |
|
||||
| tst.js:54:15:54:17 | 'a' | client2.js:8:23:8:25 | msg |
|
||||
| tst.js:54:20:54:28 | 'message' | client2.js:4:24:4:24 | y |
|
||||
| tst.js:55:16:55:26 | 'a message' | client2.js:4:21:4:21 | x |
|
||||
| tst.js:55:16:55:26 | 'a message' | client2.js:8:23:8:25 | msg |
|
||||
test_ClientSendNode_getAck
|
||||
| client2.js:16:1:16:36 | sock.wr ... => {}) | client2.js:16:28:16:35 | () => {} |
|
||||
test_SocketNode
|
||||
| tst.js:50:19:50:24 | socket | socket.io namespace with path '/' |
|
||||
| tst.js:51:3:51:22 | socket.emit('event') | socket.io namespace with path '/' |
|
||||
| tst.js:52:3:52:17 | socket.to(room) | socket.io namespace with path '/' |
|
||||
| tst.js:53:3:53:17 | socket.in(room) | socket.io namespace with path '/' |
|
||||
| tst.js:54:3:54:43 | socket. ... => {}) | socket.io namespace with path '/' |
|
||||
| tst.js:55:3:55:27 | socket. ... ssage') | socket.io namespace with path '/' |
|
||||
| tst.js:56:3:56:19 | socket.join(room) | socket.io namespace with path '/' |
|
||||
| tst.js:57:3:57:20 | socket.leave(room) | socket.io namespace with path '/' |
|
||||
| tst.js:58:3:58:16 | socket.use(cb) | socket.io namespace with path '/' |
|
||||
| tst.js:59:3:59:23 | socket. ... s(true) | socket.io namespace with path '/' |
|
||||
| tst.js:60:3:60:22 | socket.binary(false) | socket.io namespace with path '/' |
|
||||
| tst.js:61:3:61:25 | socket. ... t(true) | socket.io namespace with path '/' |
|
||||
| tst.js:62:3:62:13 | socket.json | socket.io namespace with path '/' |
|
||||
| tst.js:63:3:63:17 | socket.volatile | socket.io namespace with path '/' |
|
||||
| tst.js:64:3:64:18 | socket.broadcast | socket.io namespace with path '/' |
|
||||
| tst.js:65:3:65:14 | socket.local | socket.io namespace with path '/' |
|
||||
| tst.js:67:22:67:27 | socket | socket.io namespace with path '/' |
|
||||
| tst.js:68:19:68:24 | socket | socket.io namespace with path '/' |
|
||||
| tst.js:69:22:69:27 | socket | socket.io namespace with path '/' |
|
||||
| tst.js:70:3:70:35 | socket. ... => {}) | socket.io namespace with path '/' |
|
||||
| tst.js:71:3:71:46 | socket. ... => {}) | socket.io namespace with path '/' |
|
||||
| tst.js:72:3:72:43 | socket. ... => {}) | socket.io namespace with path '/' |
|
||||
test_ClientSendNode_getEventName
|
||||
| client2.js:14:1:14:32 | sock.em ... there") | data |
|
||||
| client2.js:16:1:16:36 | sock.wr ... => {}) | message |
|
||||
test_ClientSendNode_getSentItem
|
||||
| client2.js:14:1:14:32 | sock.em ... there") | 0 | client2.js:14:19:14:22 | "hi" |
|
||||
| client2.js:14:1:14:32 | sock.em ... there") | 1 | client2.js:14:25:14:31 | "there" |
|
||||
| client2.js:16:1:16:36 | sock.wr ... => {}) | 0 | client2.js:16:12:16:25 | "do you copy?" |
|
||||
test_ReceiveNode_getEventName
|
||||
| tst.js:70:3:70:35 | socket. ... => {}) | message |
|
||||
| tst.js:71:3:71:46 | socket. ... => {}) | message |
|
||||
test_ClientSocketNode
|
||||
| client1.js:1:1:1:4 | io() | / |
|
||||
| client1.js:2:1:2:23 | io.conn ... sages") | /messages |
|
||||
| client2.js:1:12:1:56 | require ... lhost") | / |
|
||||
| client2.js:2:13:2:85 | require ... v#abc") | /foo/bar |
|
||||
| client3.js:3:1:3:4 | io() | / |
|
||||
test_ReceiveNode_getASender
|
||||
| tst.js:70:3:70:35 | socket. ... => {}) | client2.js:16:1:16:36 | sock.wr ... => {}) |
|
||||
| tst.js:71:3:71:46 | socket. ... => {}) | client2.js:16:1:16:36 | sock.wr ... => {}) |
|
||||
| tst.js:72:3:72:43 | socket. ... => {}) | client2.js:14:1:14:32 | sock.em ... there") |
|
||||
| tst.js:72:3:72:43 | socket. ... => {}) | client2.js:16:1:16:36 | sock.wr ... => {}) |
|
||||
test_ReceiveNode_getReceivedItem
|
||||
| tst.js:70:3:70:35 | socket. ... => {}) | 0 | tst.js:70:25:70:27 | msg |
|
||||
| tst.js:71:3:71:46 | socket. ... => {}) | 0 | tst.js:71:27:71:31 | data1 |
|
||||
| tst.js:71:3:71:46 | socket. ... => {}) | 1 | tst.js:71:34:71:38 | data2 |
|
||||
test_SendNode_getSocket
|
||||
| tst.js:51:3:51:22 | socket.emit('event') | tst.js:50:19:50:24 | socket |
|
||||
| tst.js:54:3:54:43 | socket. ... => {}) | tst.js:50:19:50:24 | socket |
|
||||
| tst.js:55:3:55:27 | socket. ... ssage') | tst.js:50:19:50:24 | socket |
|
||||
test_ServerNode
|
||||
| tst.js:1:12:1:33 | require ... .io')() | tst.js:1:12:1:33 | socket.io server |
|
||||
| tst.js:4:13:4:24 | new Server() | tst.js:4:13:4:24 | socket.io server |
|
||||
| tst.js:6:13:6:27 | Server.listen() | tst.js:6:13:6:27 | socket.io server |
|
||||
| tst.js:9:1:9:21 | io.serv ... (false) | tst.js:1:12:1:33 | socket.io server |
|
||||
| tst.js:10:1:10:21 | io.set( ... s', []) | tst.js:1:12:1:33 | socket.io server |
|
||||
| tst.js:11:1:11:21 | io.path ... npath') | tst.js:1:12:1:33 | socket.io server |
|
||||
| tst.js:12:1:12:15 | io.adapter(foo) | tst.js:1:12:1:33 | socket.io server |
|
||||
| tst.js:13:1:13:14 | io.origins([]) | tst.js:1:12:1:33 | socket.io server |
|
||||
| tst.js:14:1:14:15 | io.listen(http) | tst.js:1:12:1:33 | socket.io server |
|
||||
| tst.js:15:1:15:15 | io.attach(http) | tst.js:1:12:1:33 | socket.io server |
|
||||
| tst.js:16:1:16:15 | io.bind(engine) | tst.js:1:12:1:33 | socket.io server |
|
||||
| tst.js:17:1:17:23 | io.onco ... socket) | tst.js:1:12:1:33 | socket.io server |
|
||||
test_ClientSendNode_getAReceiver
|
||||
| client2.js:14:1:14:32 | sock.em ... there") | tst.js:72:3:72:43 | socket. ... => {}) |
|
||||
| client2.js:16:1:16:36 | sock.wr ... => {}) | tst.js:70:3:70:35 | socket. ... => {}) |
|
||||
| client2.js:16:1:16:36 | sock.wr ... => {}) | tst.js:71:3:71:46 | socket. ... => {}) |
|
||||
| client2.js:16:1:16:36 | sock.wr ... => {}) | tst.js:72:3:72:43 | socket. ... => {}) |
|
||||
test_ClientReceiveNode_getAck
|
||||
| client2.js:10:1:12:2 | sock.on ... d");\\n}) | client2.js:10:22:10:23 | cb |
|
||||
test_ClientReceiveNode_getReceivedItem
|
||||
| client2.js:4:1:6:2 | sock.on ... y);\\n}) | 0 | client2.js:4:21:4:21 | x |
|
||||
| client2.js:4:1:6:2 | sock.on ... y);\\n}) | 1 | client2.js:4:24:4:24 | y |
|
||||
| client2.js:8:1:8:33 | sock.on ... => {}) | 0 | client2.js:8:23:8:25 | msg |
|
||||
| client2.js:10:1:12:2 | sock.on ... d");\\n}) | 0 | client2.js:10:19:10:19 | x |
|
||||
| client2.js:18:1:20:2 | sock2.o ... (x);\\n}) | 0 | client2.js:18:22:18:22 | x |
|
||||
test_NamespaceObject
|
||||
| socket.io namespace with path '/' | tst.js:1:12:1:33 | socket.io server | / |
|
||||
| socket.io namespace with path '/' | tst.js:4:13:4:24 | socket.io server | / |
|
||||
| socket.io namespace with path '/' | tst.js:6:13:6:27 | socket.io server | / |
|
||||
| socket.io namespace with path '/foo/bar' | tst.js:1:12:1:33 | socket.io server | /foo/bar |
|
||||
test_ClientReceiveNode
|
||||
| client2.js:4:1:6:2 | sock.on ... y);\\n}) | client2.js:1:12:1:56 | require ... lhost") |
|
||||
| client2.js:8:1:8:33 | sock.on ... => {}) | client2.js:1:12:1:56 | require ... lhost") |
|
||||
| client2.js:10:1:12:2 | sock.on ... d");\\n}) | client2.js:1:12:1:56 | require ... lhost") |
|
||||
| client2.js:18:1:20:2 | sock2.o ... (x);\\n}) | client2.js:2:13:2:85 | require ... v#abc") |
|
||||
test_ClientSendNode
|
||||
| client2.js:14:1:14:32 | sock.em ... there") | client2.js:1:12:1:56 | require ... lhost") | / |
|
||||
| client2.js:16:1:16:36 | sock.wr ... => {}) | client2.js:1:12:1:56 | require ... lhost") | / |
|
||||
test_SendNode_getAck
|
||||
| tst.js:54:3:54:43 | socket. ... => {}) | tst.js:54:31:54:42 | (data) => {} |
|
||||
test_SendNode
|
||||
| tst.js:30:1:30:28 | ns.emit ... event') | socket.io namespace with path '/' |
|
||||
| tst.js:31:1:31:20 | ns.send('a message') | socket.io namespace with path '/' |
|
||||
| tst.js:32:1:32:22 | ns2.wri ... ssage') | socket.io namespace with path '/foo/bar' |
|
||||
| tst.js:39:1:39:31 | io.emit ... ssage') | socket.io namespace with path '/' |
|
||||
| tst.js:40:1:40:20 | io.send('a message') | socket.io namespace with path '/' |
|
||||
| tst.js:41:1:41:21 | io.writ ... ssage') | socket.io namespace with path '/' |
|
||||
| tst.js:51:3:51:22 | socket.emit('event') | socket.io namespace with path '/' |
|
||||
| tst.js:54:3:54:43 | socket. ... => {}) | socket.io namespace with path '/' |
|
||||
| tst.js:55:3:55:27 | socket. ... ssage') | socket.io namespace with path '/' |
|
||||
test_SendNode_getAReceiver
|
||||
| tst.js:30:1:30:28 | ns.emit ... event') | client2.js:8:1:8:33 | sock.on ... => {}) |
|
||||
| tst.js:30:1:30:28 | ns.emit ... event') | client2.js:10:1:12:2 | sock.on ... d");\\n}) |
|
||||
| tst.js:31:1:31:20 | ns.send('a message') | client2.js:4:1:6:2 | sock.on ... y);\\n}) |
|
||||
| tst.js:31:1:31:20 | ns.send('a message') | client2.js:8:1:8:33 | sock.on ... => {}) |
|
||||
| tst.js:32:1:32:22 | ns2.wri ... ssage') | client2.js:18:1:20:2 | sock2.o ... (x);\\n}) |
|
||||
| tst.js:39:1:39:31 | io.emit ... ssage') | client2.js:4:1:6:2 | sock.on ... y);\\n}) |
|
||||
| tst.js:39:1:39:31 | io.emit ... ssage') | client2.js:8:1:8:33 | sock.on ... => {}) |
|
||||
| tst.js:40:1:40:20 | io.send('a message') | client2.js:4:1:6:2 | sock.on ... y);\\n}) |
|
||||
| tst.js:40:1:40:20 | io.send('a message') | client2.js:8:1:8:33 | sock.on ... => {}) |
|
||||
| tst.js:41:1:41:21 | io.writ ... ssage') | client2.js:4:1:6:2 | sock.on ... y);\\n}) |
|
||||
| tst.js:41:1:41:21 | io.writ ... ssage') | client2.js:8:1:8:33 | sock.on ... => {}) |
|
||||
| tst.js:51:3:51:22 | socket.emit('event') | client2.js:8:1:8:33 | sock.on ... => {}) |
|
||||
| tst.js:51:3:51:22 | socket.emit('event') | client2.js:10:1:12:2 | sock.on ... d");\\n}) |
|
||||
| tst.js:54:3:54:43 | socket. ... => {}) | client2.js:4:1:6:2 | sock.on ... y);\\n}) |
|
||||
| tst.js:54:3:54:43 | socket. ... => {}) | client2.js:8:1:8:33 | sock.on ... => {}) |
|
||||
| tst.js:55:3:55:27 | socket. ... ssage') | client2.js:4:1:6:2 | sock.on ... y);\\n}) |
|
||||
| tst.js:55:3:55:27 | socket. ... ssage') | client2.js:8:1:8:33 | sock.on ... => {}) |
|
||||
test_ServerObject
|
||||
| tst.js:1:12:1:33 | socket.io server | tst.js:1:12:1:33 | require ... .io')() | socket.io namespace with path '/' |
|
||||
| tst.js:4:13:4:24 | socket.io server | tst.js:4:13:4:24 | new Server() | socket.io namespace with path '/' |
|
||||
| tst.js:6:13:6:27 | socket.io server | tst.js:6:13:6:27 | Server.listen() | socket.io namespace with path '/' |
|
||||
@@ -0,0 +1,26 @@
|
||||
import ClientReceiveNode_getEventName
|
||||
import NamespaceNode
|
||||
import ClientReceiveNode_getASender
|
||||
import ReceiveNode
|
||||
import SendNode_getSentItem
|
||||
import AdditionalFlowStep
|
||||
import ClientSendNode_getAck
|
||||
import SocketNode
|
||||
import ClientSendNode_getEventName
|
||||
import ClientSendNode_getSentItem
|
||||
import ReceiveNode_getEventName
|
||||
import ClientSocketNode
|
||||
import ReceiveNode_getASender
|
||||
import ReceiveNode_getReceivedItem
|
||||
import SendNode_getSocket
|
||||
import ServerNode
|
||||
import ClientSendNode_getAReceiver
|
||||
import ClientReceiveNode_getAck
|
||||
import ClientReceiveNode_getReceivedItem
|
||||
import NamespaceObject
|
||||
import ClientReceiveNode
|
||||
import ClientSendNode
|
||||
import SendNode_getAck
|
||||
import SendNode
|
||||
import SendNode_getAReceiver
|
||||
import ServerObject
|
||||
Reference in New Issue
Block a user