forked from mirrors/gecko-dev
Bug 1881969 - Add tests r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D202878
This commit is contained in:
parent
4ebf3c88ba
commit
bd034cf789
1 changed files with 9 additions and 0 deletions
9
js/src/jit-test/tests/fuses/with.js
Normal file
9
js/src/jit-test/tests/fuses/with.js
Normal 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;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue