summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug1816311.js
blob: e3683922e3c40655e35230602afc502515620758 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
const v1 = ["foo"];
const v17 = {...this};
const glob = newGlobal({sameZoneAs: this});
const dbg = glob.Debugger({});
const v0 = eval(`
  const frame = dbg.getNewestFrame();
  with (frame) {
    for (const v13 in eval("function f9() {}")) {}
  }
  const v15 = [v1];
  findPath(v15, v15);
`);
JSON.stringify(v0);