Debian Codegraph @

js/src/jit-test/tests/xdr/bug1427860.js

raw
1 // |jit-test| --code-coverage
2
3 let x = cacheEntry("function inner() { return 3; }; inner()");
4 evaluate(x, { saveBytecodeWithDelazifications: true });
5
6 try {
7 // Fail XDR decode with partial script
8 oomAtAllocation(20);
9 evaluate(x, { loadBytecode: true });
10 } catch { }
11
12 getLcovInfo();