Description[typedarrays] Check detached buffer at start of typed array methods
- Throw TypeError in ValidateTypedArray, matching JSC, SpiderMonkey
and ChakraCore.
- Validate typed arrays at start of each typed array prototype
methods in src/js/typedarrays.js
- Add tests to check detached buffers
- Remove an unnecessary parameter of TypedArraySpeciesCreate
in src/js/typedarrays.js
- Standardize TypedArray.prototype.subarray
- Update test262.status to pass detached buffer tests
BUG=v8:4648, v8:4665, v8:4953
Review-Url: https://codereview.chromium.org/2778623003
Cr-Commit-Position: refs/heads/master@{#44357}
Committed: https://chromium.googlesource.com/v8/v8/+/238d5b4453d9166aaddce76a5393514d977238d4
Patch Set 1 #
Total comments: 6
Patch Set 2 : Use inline IS_TYPEDARRAY #
Total comments: 6
Patch Set 3 : update tests #Patch Set 4 : Add turbofan inline for neutered buffer checks #Patch Set 5 : crankshaft inline #
Total comments: 4
Patch Set 6 : minor changes on ValidateTypedArray in js #Patch Set 7 : rebase #
Total comments: 16
Patch Set 8 : apply comments #Patch Set 9 : update test262.status #Patch Set 10 : pass test262 for subarray #
Messages
Total messages: 46 (22 generated)
|