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

Don't throw OOB exception for detached typed array #208

Merged
merged 1 commit into from Dec 12, 2023

Conversation

bnoordhuis
Copy link
Contributor

a[42] = 1 where a is a detached typed array should not throw but Object.defineProperty() still should. Add a check and a flag that distinguishes between the two cases.

`a[42] = 1` where a is a detached typed array should not throw but
`Object.defineProperty()` still should. Add a check and a flag that
distinguishes between the two cases.
@bnoordhuis bnoordhuis merged commit 8baafc4 into quickjs-ng:master Dec 12, 2023
31 checks passed
@bnoordhuis bnoordhuis deleted the detached-ta-prop-set branch December 12, 2023 22:14
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.

None yet

2 participants