Skip to content

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
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