summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/modules/bug-1657066.js
blob: 22c828ca6813767a1a6b850d977545a712573fa6 (plain)
1
2
3
let g = newGlobal({newCompartment: true});
new Debugger(g).onExceptionUnwind = () => null;
g.eval(`import("javascript: throw 1")`).catch(() => 0);