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

This commit is contained in:
Napalys
2024-11-08 12:23:21 +01:00
parent f1c6dc1d9b
commit 1c298f0231

View File

@@ -57,4 +57,6 @@ function test() {
}
tagged`foo ${"safe"} bar ${x} baz`;
sink(x.reverse()); // NOT OK -- Should be caught but isn't
}