summaryrefslogtreecommitdiff
path: root/tests/testdata
diff options
context:
space:
mode:
authorud2 <sjx233@qq.com>2024-06-05 07:09:13 +0800
committerGitHub <noreply@github.com>2024-06-05 01:09:13 +0200
commit29a075de2b625e1c893f6fad163a6d6937894a7a (patch)
treebb820ec7ea3b7de99d36618408f9cbba84641390 /tests/testdata
parent32f655db540a1d1368162f820e17585911c04c27 (diff)
chore(ext/web): use `Error.captureStackTrace` in `DOMException` constructor (#23986)
This makes `DOMException`'s `stack` property behave the same as native errors' – `stack` is now an own accessor property on every instance, and the getter calls `Error.prepareStackTrace`. Upgrades `deno_core` to 0.284.0. --------- Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
Diffstat (limited to 'tests/testdata')
-rw-r--r--tests/testdata/run/eval_context_throw_dom_exception.js.out3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/testdata/run/eval_context_throw_dom_exception.js.out b/tests/testdata/run/eval_context_throw_dom_exception.js.out
index 39f5a8174..24ea0cffc 100644
--- a/tests/testdata/run/eval_context_throw_dom_exception.js.out
+++ b/tests/testdata/run/eval_context_throw_dom_exception.js.out
@@ -1,6 +1,5 @@
{
- thrown: DOMException: foo
- at new DOMException (ext:deno_web/01_dom_exception.js:[WILDCARD])
+ thrown: Error: foo
at [WILDCARD]
at Object.evalContext (ext:core/01_core.js:[WILDCARD])
at file:///[WILDCARD]/eval_context_throw_dom_exception.js:1:48,