deno icon indicating copy to clipboard operation
deno copied to clipboard

chore(ext/web): use `Error.captureStackTrace` in `DOMException` constructor

Open 0f-0b opened this issue 1 year ago • 0 comments

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.

denoland/deno_core#754 depends on this.

0f-0b avatar May 26 '24 15:05 0f-0b