File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
src/semmle/javascript/frameworks
test/library-tests/frameworks/SocketIO Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ module SocketIO {
190
190
|
191
191
on = base .getAMethodCall ( EventEmitter:: on ( ) ) and
192
192
on .getArgument ( 0 ) .mayHaveStringValue ( connect ) and
193
- this = on .getCallback ( 1 ) . getParameter ( 0 )
193
+ this = on .getABoundCallbackParameter ( 1 , 0 )
194
194
)
195
195
}
196
196
Original file line number Diff line number Diff line change @@ -122,6 +122,7 @@ test_SocketNode
122
122
| tst.js:71:3:71:35 | socket. ... => {}) | socket.io namespace with path '/' |
123
123
| tst.js:72:3:72:46 | socket. ... => {}) | socket.io namespace with path '/' |
124
124
| tst.js:73:3:73:43 | socket. ... => {}) | socket.io namespace with path '/' |
125
+ | tst.js:84:16:84:21 | socket | socket.io namespace with path '/' |
125
126
test_ClientSendNode_getEventName
126
127
| client2.js:14:1:14:32 | sock.em ... there") | data |
127
128
| client2.js:16:1:16:36 | sock.wr ... => {}) | message |
You can’t perform that action at this time.
0 commit comments