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

Handle Array prototype properties in standard operations #1426

Merged
merged 1 commit into from
Jan 15, 2024

Conversation

gbrail
Copy link
Collaborator

@gbrail gbrail commented Dec 3, 2023

When an Array object's prototype is changed, disable the "dense only" optimization to ensure that prototype properties are considered by standard operations.

This should fix #1319, although it doesn't fix any existing test262 tests, and it
does not necessarily fix every strange things about arrays and its prototype.

When an Array object's prototype is changed, disable the "dense only"
optimization to ensure that prototype properties are considered by
standard operations.
@gbrail gbrail merged commit c4c7bf3 into mozilla:master Jan 15, 2024
3 checks passed
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.

A problem in Object.defineProperty
1 participant