| commit | 7ac1151a4bc34535bf28ec7c3e48b132bcc0d96e | [log] [tgz] |
|---|---|---|
| author | Luis Pardo <lpardosixtos@microsoft.com> | Tue May 13 15:49:47 2025 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue May 13 15:49:47 2025 |
| tree | 6e499a06bc4c1198d725b60992c8bc96fcde7d94 | |
| parent | 92d2bd6e1e191227c779fcee6f26cf6a7f77740a [diff] |
[source-phase-imports] Support Wasm Source Phase Imports Adds ModuleRecord::ResolveSourceCallback to be called when instantiating source phase children of the module graph. Implement HostImportModuleWithPhaseDynamically and register it in the V8 isolate, this is called when executing `import.source`. Add error handling for wasm imports in evaluation phase and non-wasm imports in source phase. Move module instantiation behind the ModuleScript interface to properly throw evaluation phase errors. Bug: 42204365 Change-Id: Ia3e855180f1f740023864b3499dc451278b53d47 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6351556 Reviewed-by: Dominic Farolino <dom@chromium.org> Commit-Queue: Luis Pardo <lpardosixtos@microsoft.com> Reviewed-by: Kouhei Ueno <kouhei@chromium.org> Cr-Commit-Position: refs/heads/main@{#1459475}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.