Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

Normative: Correct buffer limit checks in TypedArray.p.slice #127

Merged
merged 1 commit into from
Jul 7, 2023

Conversation

anba
Copy link
Contributor

@anba anba commented Jul 7, 2023

The limit has to take targetByteIndex into account, too.

Drive-by change: Add length assertion for consistency with copyWithin, fill, and subarray.

The limit has to take `targetByteIndex` into account, too.
@syg syg merged commit 3ba84d2 into tc39:master Jul 7, 2023
@syg
Copy link
Collaborator

syg commented Jul 7, 2023

I'll incorporate this in tc39/ecma262#3116

syg added a commit to syg/ecma262 that referenced this pull request Jul 7, 2023
syg added a commit to syg/ecma262 that referenced this pull request Jul 7, 2023
syg added a commit to syg/ecma262 that referenced this pull request Jul 27, 2023
syg added a commit to syg/ecma262 that referenced this pull request Aug 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants