Debian Codegraph @

js/src/jit-test/tests/basic/inflate-oom.js

raw
1 function test() {
2 function foo() {
3 return 1;
4 };
5 oomTest(() => {
6 gc();
7 foo.toString();
8 });
9 }
10 var s = ";".repeat(70000);
11 s += test.toString() + "test()";
12 s += ";".repeat(70000);
13 eval(s);