summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/eval_context_throw_dom_exception.js
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata/eval_context_throw_dom_exception.js')
-rw-r--r--cli/tests/testdata/eval_context_throw_dom_exception.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/tests/testdata/eval_context_throw_dom_exception.js b/cli/tests/testdata/eval_context_throw_dom_exception.js
new file mode 100644
index 000000000..b8e99d498
--- /dev/null
+++ b/cli/tests/testdata/eval_context_throw_dom_exception.js
@@ -0,0 +1,2 @@
+const [, errorInfo] = Deno.core.evalContext('throw new DOMException("foo")');
+console.log(errorInfo);