File tree Expand file tree Collapse file tree
src/semmle/javascript/frameworks
test/library-tests/frameworks/SocketIO Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ module SocketIO {
190190 |
191191 on = base .getAMethodCall ( EventEmitter:: on ( ) ) and
192192 on .getArgument ( 0 ) .mayHaveStringValue ( connect ) and
193- this = on .getCallback ( 1 ) . getParameter ( 0 )
193+ this = on .getABoundCallbackParameter ( 1 , 0 )
194194 )
195195 }
196196
Original file line number Diff line number Diff line change @@ -122,6 +122,7 @@ test_SocketNode
122122| tst.js:71:3:71:35 | socket. ... => {}) | socket.io namespace with path '/' |
123123| tst.js:72:3:72:46 | socket. ... => {}) | socket.io namespace with path '/' |
124124| 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 '/' |
125126test_ClientSendNode_getEventName
126127| client2.js:14:1:14:32 | sock.em ... there") | data |
127128| client2.js:16:1:16:36 | sock.wr ... => {}) | message |
You can’t perform that action at this time.
0 commit comments