Added basic taint tracking test for Array.prototype.toSpliced()

This commit is contained in:
Napalys
2024-11-13 12:28:14 +01:00
parent 570260b4dc
commit a65f80ef76

View File

@@ -59,4 +59,5 @@ function test() {
tagged`foo ${"safe"} bar ${x} baz`;
sink(x.reverse()); // NOT OK
sink(x.toSpliced()); // NOT OK -- Should be caught, but it is not
}