Skip to content

Update DOMException language to reflect standardized stack accessor#1578

Open
ljharb wants to merge 1 commit intowhatwg:mainfrom
ljharb:error-stack-accessor-integration
Open

Update DOMException language to reflect standardized stack accessor#1578
ljharb wants to merge 1 commit intowhatwg:mainfrom
ljharb:error-stack-accessor-integration

Conversation

@ljharb
Copy link
Contributor

@ljharb ljharb commented Mar 10, 2026

Since DOMException objects have [[ErrorData]], the Error.prototype.stack accessor from the Error Stack Accessor proposal naturally applies to them. Update the language to reflect that stack is now a specified accessor property rather than a nonstandard property that implementations "should" expose.

See tc39/proposal-error-stack-accessor#9 and tc39/proposal-error-stack-accessor#8

Since DOMException objects have [[ErrorData]], the Error.prototype.stack accessor from the Error Stack Accessor proposal naturally applies to them.
Update the language to reflect that stack is now a specified accessor property rather than a nonstandard property that implementations "should" expose.

See tc39/proposal-error-stack-accessor#9 and tc39/proposal-error-stack-accessor#8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant