• hablich's avatar
    Revert of Amend DataView, ArrayBuffer, and TypedArray methods to use ToIndex.... · b1f7f1f4
    hablich authored
    Revert of Amend DataView, ArrayBuffer, and TypedArray methods to use ToIndex. (patchset #8 id:140001 of https://codereview.chromium.org/2090353003/ )
    
    Reason for revert:
    Speculative revert to unblock roll: https://codereview.chromium.org/2107223003/
    
    Original issue's description:
    > Amend DataView, ArrayBuffer, and TypedArray methods to use ToIndex.
    >
    > The spec was modified to relax some requirements which implementors had not been
    > enforcing. Part of this process involved introducing a new abstract operation
    > ToIndex, which had partial overlap with our existing semantics as well as some
    > differences (most notably treating undefined as 0). Test262 tests were introduced to
    > check for the new semantics, some of which we were failing. This patch amends the
    > parts of our implementation corresponding to specification algorithms which use
    > ToIndex to follow its semantics precisely.
    >
    > BUG=v8:4784,v8:5120
    >
    > Committed: https://crrev.com/09720349ea058d178521ec58d0a5676443a5a132
    > Cr-Commit-Position: refs/heads/master@{#37406}
    
    TBR=littledan@chromium.org,adamk@chromium.org,bakkot@google.com
    # Skipping CQ checks because original CL landed less than 1 days ago.
    NOPRESUBMIT=true
    NOTREECHECKS=true
    NOTRY=true
    BUG=v8:4784,v8:5120
    
    Review-Url: https://codereview.chromium.org/2113593002
    Cr-Commit-Position: refs/heads/master@{#37417}
    b1f7f1f4
dataview-accessors.js 15.6 KB