[builtins] Fixes TypedArray ops behavior when the buffer was detached
After the parameter processing, the arraybuffer may have been detached. TypedArray copyWithin/fill should throw in that condition. TypedArray includes should return false if the search element is not undefined. Change-Id: If507d0efa1dafbe3dcefcd368e5ea27406bb3df8 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3144315Reviewed-by: Shu-yu Guo <syg@chromium.org> Commit-Queue: Shu-yu Guo <syg@chromium.org> Cr-Commit-Position: refs/heads/main@{#77103}
Showing
Please
register
or
sign in
to comment