Debian Codegraph @

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

raw
1 // |jit-test| skip-if: helperThreadCount() === 0
2
3 // Test main thread encode/decode OOM
4 oomTest(function() {
5 let t = cacheEntry(`function f() { function g() { }; return 3; };`);
6
7 evaluate(t, { sourceIsLazy: true, saveBytecodeWithDelazifications: true });
8 evaluate(t, { sourceIsLazy: true, readBytecode: true });
9 });