8ee40cfc1f
Shell::FetchModuleTree assumes that the module at file_name wasn't already fetched. Shell::ExecuteModule is calling into FetchModuleTree without checking if the module is already in the module map, violating this assumption. This change fixes this by having Shell::ExecuteModule check for the existence of the module before calling into Shell::ExecuteModule, the same way that Shell::DoHostImportModuleDynamically does. Bug: v8:12530 Change-Id: Ia038cbd1715e85c9c92c4554fd486c657ef952e8 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3388130 Reviewed-by: Marja Hölttä <marja@chromium.org> Commit-Queue: Marja Hölttä <marja@chromium.org> Cr-Commit-Position: refs/heads/main@{#78636} |
||
---|---|---|
.. | ||
.gitignore | ||
d8-arguments.js | ||
d8-fuzzable-worker.js | ||
d8-multiple-module-exec.js | ||
d8-os.js | ||
d8-performance-now.js | ||
d8-realm-explicit-scope.js | ||
d8-worker-script.js | ||
d8-worker-script.txt | ||
d8-worker-sharedarraybuffer.js | ||
d8-worker-shutdown-empty.js | ||
d8-worker-shutdown-gc.js | ||
d8-worker-shutdown-spawn.js | ||
d8-worker-shutdown.js | ||
d8-worker-spawn-worker.js | ||
d8-worker.js | ||
enable-tracing.js |