You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additionally, if an implementation gives native Error objects special powers or nonstandard properties (such as a stack property), it should also expose those on DOMException objects.
Presumably this would need to be reworded. Engines are not currently consistent about this; in Chrome it apparently depends on how it's thrown.
User agents should attach a serialized representation of any interesting accompanying data which are not yet specified, notably the stack property, to serialized.
This too would presumably need to be reworded.
Also there would need to be WPT tests for presence of .stack as a string on DOMExceptions, both manually created and thrown, as well as for cloning of stacks with structured clone.
Activity
ljharb commentedon Feb 19, 2025
Thanks for filing this; I'll ensure this is covered in the pre-stage-2.7 PR.
HTML integration for "Error Stack Accessor" TC39 Proposal
Update DOMException language to reflect standardized stack accessor
HTML integration for "Error Stack Accessor" TC39 Proposal
Add WPT tests for Error Stack Accessor proposal web platform integration
ljharb commentedon Mar 10, 2026
whatwg/html#12239
whatwg/webidl#1578
web-platform-tests/wpt#58397
HTML integration for "Error Stack Accessor" TC39 Proposal
HTML integration for "Error Stack Accessor" TC39 Proposal
HTML integration for "Error Stack Accessor" TC39 Proposal
Update DOMException language to reflect standardized stack accessor
Update DOMException language to reflect standardized stack accessor
HTML integration for "Error Stack Accessor" TC39 Proposal
HTML integration for "Error Stack Accessor" TC39 Proposal
Update DOMException language to reflect standardized stack accessor
Update DOMException language to reflect standardized stack accessor
Update DOMException language to reflect standardized stack accessor
Update DOMException language to reflect standardized stack accessor
Add WPT tests for Error Stack Accessor proposal web platform integrat…
Update DOMException language to reflect standardized stack accessor
Integrate with Error Stack Accessor proposal
Bug 2042299 [wpt PR 58397] - Add WPT tests for Error Stack Accessor p…
Bug 2042299 [wpt PR 58397] - Add WPT tests for Error Stack Accessor p…
Bug 2042299 [wpt PR 58397] - Add WPT tests for Error Stack Accessor p…
Bug 2042299 [wpt PR 58397] - Add WPT tests for Error Stack Accessor p…
ljharb commentedon Jun 17, 2026
All merged.
Bug 2042299 [wpt PR 58397] - Add WPT tests for Error Stack Accessor p…