• cwhan.tunz's avatar
    [typedarrays] Check detached buffer at start of typed array methods · 238d5b44
    cwhan.tunz authored
    - 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}
    238d5b44
typedarray-fill.js 5.17 KB