• littledan's avatar
    Additional TypedArray tests · 8068b91d
    littledan authored
    - Test that TypedArray properties cannot be set in strict mode
      Properties like %TypedArray%.prototype.length have a getter and no
      setter. This test verifies that property, which was apparently not
      true in the past or had no test ensuring throwing in this case.
    - Test that TypedArray integer indexed properties (array elements)
      are not configurable
    
    Both of these have passed for some time, but there are open bugs against
    them and apparently no tests verifying that they are fixed.
    
    BUG=v8:3048, v8:3799
    LOG=N
    R=adamk
    
    Review URL: https://codereview.chromium.org/1232843005
    
    Cr-Commit-Position: refs/heads/master@{#29717}
    8068b91d
typedarray.js 22.6 KB