Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit af7b4e3

Browse files
committed
Accept flow difference due to added test cases
New library gets FN for spread arguments in a call to splice(), which was added to the old version in this PR: #16739
1 parent 53efb58 commit af7b4e3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

javascript/ql/test/library-tests/Arrays/DataFlow.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
legacyDataFlowDifference
2+
| arrays.js:2:16:2:23 | "source" | arrays.js:39:8:39:24 | arr4_spread.pop() | only flow with OLD data flow library |
23
flow
34
| arrays.js:2:16:2:23 | "source" | arrays.js:5:8:5:14 | obj.foo |
45
| arrays.js:2:16:2:23 | "source" | arrays.js:11:10:11:15 | arr[i] |
56
| arrays.js:2:16:2:23 | "source" | arrays.js:15:27:15:27 | e |
67
| arrays.js:2:16:2:23 | "source" | arrays.js:16:23:16:23 | e |
78
| arrays.js:2:16:2:23 | "source" | arrays.js:20:8:20:16 | arr.pop() |
8-
| arrays.js:2:16:2:23 | "source" | arrays.js:39:8:39:24 | arr4_spread.pop() |
99
| arrays.js:2:16:2:23 | "source" | arrays.js:61:10:61:10 | x |
1010
| arrays.js:2:16:2:23 | "source" | arrays.js:65:10:65:10 | x |
1111
| arrays.js:2:16:2:23 | "source" | arrays.js:69:10:69:10 | x |

javascript/ql/test/library-tests/Arrays/TaintFlow.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
legacyDataFlowDifference
2+
| arrays.js:2:16:2:23 | "source" | arrays.js:39:8:39:24 | arr4_spread.pop() | only flow with OLD data flow library |
23
flow
34
| arrays.js:2:16:2:23 | "source" | arrays.js:5:8:5:14 | obj.foo |
45
| arrays.js:2:16:2:23 | "source" | arrays.js:11:10:11:15 | arr[i] |
56
| arrays.js:2:16:2:23 | "source" | arrays.js:15:27:15:27 | e |
67
| arrays.js:2:16:2:23 | "source" | arrays.js:16:23:16:23 | e |
78
| arrays.js:2:16:2:23 | "source" | arrays.js:20:8:20:16 | arr.pop() |
8-
| arrays.js:2:16:2:23 | "source" | arrays.js:39:8:39:24 | arr4_spread.pop() |
99
| arrays.js:2:16:2:23 | "source" | arrays.js:58:8:58:13 | arr[0] |
1010
| arrays.js:2:16:2:23 | "source" | arrays.js:61:10:61:10 | x |
1111
| arrays.js:2:16:2:23 | "source" | arrays.js:65:10:65:10 | x |

0 commit comments

Comments
 (0)