Debian Codegraph @

js/src/jit-test/tests/saved-stacks/bug-1289058.js

raw
1 const g1 = newGlobal({});
2 const g2 = newGlobal(newGlobal);
3 g1.g2obj = g2.eval("new Object");
4 g1.evaluate(`
5 const global = this;
6 function capture(shouldIgnoreSelfHosted = true) {
7 return captureFirstSubsumedFrame(global.g2obj, shouldIgnoreSelfHosted);
8 }
9 (function iife1() {
10 const captureTrueStack = capture(true);
11 }());
12 `, {
13 });