Bug 1881969 - Add tests r=jandem

Differential Revision: https://phabricator.services.mozilla.com/D202878
This commit is contained in:
Matthew Gaudet 2024-02-29 16:39:32 +00:00
parent 4ebf3c88ba
commit bd034cf789

View file

@ -0,0 +1,9 @@
let iterProto = [].values().__proto__
with (newGlobal()) {
const v3 = [].values();
Object.defineProperty(v3.__proto__, "return", {});
const v18 = [];
for (let i = 0; i < 500; i++) {
[] = v18;
}
}