Debian Codegraph @

js/src/jit-test/tests/wasm/regress/oom-init.js

raw
1 // |jit-test| slow; allow-oom; skip-if: !wasmIsSupported() || !hasFunction.oomTest
2
3 Object.getOwnPropertyNames(this);
4 s = newGlobal();
5 evalcx("\
6 /x/;\
7 oomTest(function() {\
8 this[\"\"];\
9 void 0;\
10 Object.freeze(this);\
11 l(undefined)();\
12 O;\
13 t;\
14 0;\
15 ({e});\
16 i;\
17 0;\
18 ({ z: p ? 0 : 0});\
19 s;\
20 });\
21 ", s);