-
Marja Hölttä authored
The OOB check belongs in ValidateIntegerTypedArray according to the spec. This also fixes the error types for OOB TypedArrays when doing Atomics: OOB TypedArrays should get a TypeError, not RangeError. Bug: v8:11111 Change-Id: Ice2e5695d69d84b2c20a4cf8f06880673d901a91 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3676859 Commit-Queue: Marja Hölttä <marja@chromium.org> Reviewed-by: Shu-yu Guo <syg@chromium.org> Cr-Commit-Position: refs/heads/main@{#80898}
bfa18f9e