This repository was archived by the owner on Oct 24, 2023. It is now read-only.
Repository navigation
Normative: Make TA.p.subarray return a length-tracking array if original TA is length-tracking and no end is provided - #93
Merged
Conversation
…ength-tracking and no end is provided
|
I was thinking about this PR, related to the mental model "subarray constructs a new TA with the backing buffer of the old TA, and the parameters given". -> Concluded that this behavior matches that mental model. |
Collaborator
Author
Collaborator
Author
|
This PR achieved consensus in the March 2022 TC39. |
pull Bot
pushed a commit
to jamlee-t/v8
that referenced
this pull request
Sep 13, 2022
The normative change in tc39/proposal-resizablearraybuffer#93 changed the behavior of TypedArray.prototype.subarray(begin, end) such that if the receiver is a length-tracking TA and end is undefined, the result TypedArray is also length-tracking. This change reached consensus in the March 2022 TC39. Bug: v8:11111 Change-Id: If1a84cc3134f3ce8046196d6cc36683b6996dec0 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3888382 Commit-Queue: Marja Hölttä <[email protected]> Auto-Submit: Shu-yu Guo <[email protected]> Reviewed-by: Marja Hölttä <[email protected]> Cr-Commit-Position: refs/heads/main@{#83147}
syg
added a commit
to syg/test262
that referenced
this pull request
Sep 19, 2022
This is from the normative change in tc39/proposal-resizablearraybuffer#93, which got consensus in the March 2022 TC39.
syg
added a commit
to tc39/test262
that referenced
this pull request
Sep 20, 2022
This is from the normative change in tc39/proposal-resizablearraybuffer#93, which got consensus in the March 2022 TC39.
catamorphism
pushed a commit
to catamorphism/test262
that referenced
this pull request
Oct 4, 2022
This is from the normative change in tc39/proposal-resizablearraybuffer#93, which got consensus in the March 2022 TC39.
catamorphism
pushed a commit
to catamorphism/test262
that referenced
this pull request
Oct 5, 2022
This is from the normative change in tc39/proposal-resizablearraybuffer#93, which got consensus in the March 2022 TC39.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #91