diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2021-10-19 17:26:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-19 18:26:45 +0200 |
commit | e8ee5da459f6addd15b726ff5860cfb148c2c60f (patch) | |
tree | ad5b1d2878d70a4fc4a8904ef0ae0fc1eca608b7 /cli/tests/testdata/eval_context_throw_dom_exception.js | |
parent | d6062b265331b88efcbe740741bd93714ec11026 (diff) |
fix(core/bindings): use is_instance_of_error() instead of is_native_error() (#12479)
Diffstat (limited to 'cli/tests/testdata/eval_context_throw_dom_exception.js')
-rw-r--r-- | cli/tests/testdata/eval_context_throw_dom_exception.js | 2 |
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); |