File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
javascript/ql/test/library-tests/TaintTracking Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ legacyDataFlowDifference
36
36
| sanitizer-guards.js:57:11:57:18 | source() | sanitizer-guards.js:64:8:64:8 | x | only flow with NEW data flow library |
37
37
| spread.js:4:15:4:22 | source() | spread.js:18:8:18:8 | y | only flow with NEW data flow library |
38
38
| spread.js:4:15:4:22 | source() | spread.js:24:8:24:8 | y | only flow with NEW data flow library |
39
+ | tst.js:2:13:2:20 | source() | tst.js:17:10:17:10 | a | only flow with OLD data flow library |
39
40
| use-use-after-implicit-read.js:7:17:7:24 | source() | use-use-after-implicit-read.js:15:10:15:10 | x | only flow with NEW data flow library |
40
41
consistencyIssue
41
42
| nested-props.js:20 | expected an alert, but found none | NOT OK - but not found | Consistency |
280
281
| tst.js:2:13:2:20 | source() | tst.js:4:10:4:10 | x |
281
282
| tst.js:2:13:2:20 | source() | tst.js:5:10:5:22 | "/" + x + "!" |
282
283
| tst.js:2:13:2:20 | source() | tst.js:14:10:14:17 | x.sort() |
283
- | tst.js:2:13:2:20 | source() | tst.js:17:10:17:10 | a |
284
284
| tst.js:2:13:2:20 | source() | tst.js:19:10:19:10 | a |
285
285
| tst.js:2:13:2:20 | source() | tst.js:23:10:23:10 | b |
286
286
| tst.js:2:13:2:20 | source() | tst.js:25:10:25:16 | x.pop() |
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ function test() {
14
14
sink ( x . sort ( ) ) ; // NOT OK
15
15
16
16
var a = [ ] ;
17
- sink ( a ) ; // NOT OK (flow-insensitive treatment of `a`)
17
+ sink ( a ) ; // OK
18
18
a . push ( x ) ;
19
19
sink ( a ) ; // NOT OK
20
20
You can’t perform that action at this time.
0 commit comments