[v8] Use CreateDataProperty instead of Set for Arrays
Set on an Array can throw exceptions if for instance Object.defineProperty is called on Array.prototype, so use CreateDataProperty instead. Bug: v8:7283, v8:8834 Change-Id: I144951b5c9c1cb0801aa5394bf6f7df58f4a6d54 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1561127 Auto-Submit: Dan Elphick <delphick@chromium.org> Commit-Queue: Kentaro Hara <haraken@chromium.org> Reviewed-by:Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/master@{#649677}
Showing
Please register or sign in to comment