Skip to content

Add type override for DOMException stack property#2190

Merged
jasnell merged 1 commit intomainfrom
jsnell/domexception-stack-type-override
May 29, 2024
Merged

Add type override for DOMException stack property#2190
jasnell merged 1 commit intomainfrom
jsnell/domexception-stack-type-override

Conversation

@jasnell
Copy link
Collaborator

@jasnell jasnell commented May 29, 2024

Fixes: #2174

@jasnell jasnell requested review from a team as code owners May 29, 2024 20:09
@jasnell jasnell requested review from dom96 and vickykont May 29, 2024 20:09
Copy link
Contributor

@fhanau fhanau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change looks sane. Since you're adding a set method here, is stack supposed to be writable? It was readonly before the refactor PR, but based on discussion it sounds like it might be writable now.

@jasnell
Copy link
Collaborator Author

jasnell commented May 29, 2024

Yes, originally it was readonly but with this change it becomes mutable.

@jasnell jasnell merged commit 197725b into main May 29, 2024
@jasnell jasnell deleted the jsnell/domexception-stack-type-override branch May 29, 2024 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unexpected change in DOMException.stack type

2 participants