summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/modules/bug-1657066.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/modules/bug-1657066.js')
-rw-r--r--js/src/jit-test/tests/modules/bug-1657066.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/modules/bug-1657066.js b/js/src/jit-test/tests/modules/bug-1657066.js
new file mode 100644
index 0000000000..22c828ca68
--- /dev/null
+++ b/js/src/jit-test/tests/modules/bug-1657066.js
@@ -0,0 +1,3 @@
+let g = newGlobal({newCompartment: true});
+new Debugger(g).onExceptionUnwind = () => null;
+g.eval(`import("javascript: throw 1")`).catch(() => 0);