JS: Fix: Ensure toSpliced is flagged by taint tracking in test suite (ed44358143)

This commit is contained in:
Napalys
2024-11-13 15:58:20 +01:00
parent ed44358143
commit 2df3d1b251
3 changed files with 9 additions and 2 deletions

View File

@@ -42,11 +42,11 @@ function test(x, y) {
let k = [];
let kSpliced = k.toSpliced(x, y, source());
sink(k); // OK
sink(kSpliced); // NOT OK -- This should be caught, but it is not
sink(kSpliced); // NOT OK
let l = [];
l = l.toSpliced(x, y, source());
sink(l); // NOT OK -- This should be caught, but it is not
sink(l); // NOT OK
let m = [];
m = m.toSpliced(q, source(), y);