Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(pass-style): passable error validation #1734

Merged
merged 1 commit into from
Aug 24, 2023

Conversation

erights
Copy link
Contributor

@erights erights commented Aug 24, 2023

@mhofman discovered that passStyleOf was not validating that an error's stack property was a string-valued non-enumerable data property before concluding that it is a passable error. In fact, it was not even validating that the value of the stack property is passable. This flaw thus enabled data that was judged passable to carry non-passable data.

This PR repairs that deficiency.

@erights erights self-assigned this Aug 24, 2023
@erights erights force-pushed the markm-passable-error-validation branch from 6c2ceb1 to df67cb0 Compare August 24, 2023 22:40
@erights erights enabled auto-merge August 24, 2023 22:40
@erights erights merged commit 9956f04 into master Aug 24, 2023
13 checks passed
@erights erights deleted the markm-passable-error-validation branch August 24, 2023 22:46
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.

2 participants