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

Normative: Don't coerce value if index is invalid in TypedArray [[Set]] #2332

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

shvaikalesh
Copy link
Member

While all major engines currently perform value coercion for invalid indices, I believe it's not due to web-compatibility, but because of extensive test262 coverage.

Motivation

Implementation prospect

Given that #1556 requires TypedArray's [[Set]] to be adjusted in V8 / SM / JSC, this change can be implemented along.

@michaelficarra michaelficarra added needs consensus This needs committee consensus before it can be eligible to be merged. normative change Affects behavior required to correctly evaluate some ECMAScript source text labels Mar 1, 2021
@shvaikalesh shvaikalesh force-pushed the typedarray-set-invalid-index-no-value-coercion branch from d4ab447 to fd0176f Compare March 2, 2021 20:18
@ljharb ljharb force-pushed the master branch 3 times, most recently from 3d0c24c to 7a79833 Compare June 29, 2021 02:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs consensus This needs committee consensus before it can be eligible to be merged. normative change Affects behavior required to correctly evaluate some ECMAScript source text
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants