Added test case for Array.prototype.toReversed, which is currently not flagged as a taint sink.

This commit is contained in:
Napalys
2024-11-08 14:23:10 +01:00
parent 3215967cbc
commit 7427a24ca1
3 changed files with 12 additions and 1 deletions

View File

@@ -236,6 +236,8 @@ typeInferenceMismatch
| tst.js:2:13:2:20 | source() | tst.js:61:10:61:20 | x.reverse() |
| tst.js:2:13:2:20 | source() | tst.js:63:10:63:21 | x.toSorted() |
| tst.js:2:13:2:20 | source() | tst.js:65:10:65:16 | xSorted |
| tst.js:2:13:2:20 | source() | tst.js:67:10:67:23 | x.toReversed() |
| tst.js:2:13:2:20 | source() | tst.js:69:10:69:18 | xReversed |
| xml.js:5:18:5:25 | source() | xml.js:8:14:8:17 | text |
| xml.js:12:17:12:24 | source() | xml.js:13:14:13:19 | result |
| xml.js:23:18:23:25 | source() | xml.js:20:14:20:17 | attr |