summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/bug1704480.js
blob: 4822c39aeeaa66fff06a3625daa4e8f5f8124fd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// |jit-test|  --more-compartments
m = parseModule(`
    await 0 ? b : c
`);
moduleLink(m);
moduleEvaluate(m)
d = newGlobal();
d.e = this;
d.eval(`
 Debugger(e).onExceptionUnwind = function(f) {
    print(f.eval)
    return f.eval("")
 }
`);