[sandbox] Add ApiCheck in v8::ArrayBuffer::NewBackingStore
Previously, when embedders attempted to create ArrayBuffers backed by memory outside the sandbox, V8 would simply crash with a failed CHECK when converting the raw backing store pointer into a SandboxedPointer. The new ApiCheck now provides a better error message in that case. Bug: chromium:1218005 Change-Id: I7a1ad8cbf07fa346b1f09521850df9b18b428427 Cq-Include-Trybots: luci.v8.try:v8_linux64_heap_sandbox_dbg_ng,v8_linux_arm64_sim_heap_sandbox_dbg_ng Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3711882Reviewed-by: Igor Sheludko <ishell@chromium.org> Commit-Queue: Samuel Groß <saelo@chromium.org> Cr-Commit-Position: refs/heads/main@{#81254}
Showing
Please
register
or
sign in
to comment