-
Andreas Haas authored
The original CL used Object::Set to create the result object of WebAssembly instantiation. However, Object::Set is potentially observable from JavaScript, and therefore required a MicrotasksScope. This CL replaces the use of Object::Set with Object::CreateDataProperty. Original message: This CL switches resolving and rejecting the wasm result promise from the V8-internal API to the external API added in https://chromium-review.googlesource.com/c/v8/v8/+/3695584. This CL can land once Chrome provided an implementation of the callback. R=jkummerow@chromium.org Bug: v8:12953 Change-Id: If1f252736fd3a13024d4b38adebf468530c59c03 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3714234Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Commit-Queue: Andreas Haas <ahaas@chromium.org> Cr-Commit-Position: refs/heads/main@{#81253}
438dc0d3