Skip to content

Conversation

@guybedford
Copy link
Collaborator

@guybedford guybedford commented Feb 5, 2025

This updates the spec to match the latest source phase imports proposal, which changed to using a [[ModuleSource]] slot fully defined in ECMA-262 in tc39/proposal-source-phase-imports#69 (and the corresponding upstream PR).

As a result we can set the WebAssembly.Module directly into this slot without needing any custom slots or to provide the GetModuleSource concrete method.

We may also be able to upgrade HostGetModuleSourceName to rather be the new HostGetModuleSourceModuleRecord, which is separately tracking in tc39/proposal-source-phase-imports#70.

@guybedford guybedford merged commit f1c3a98 into main Feb 5, 2025
8 checks passed
@guybedford guybedford deleted the module-source-slot branch February 5, 2025 22:46
guybedford pushed a commit that referenced this pull request Oct 4, 2025
"index" was renamed to "address". Without this change, all JS tests
generated from the core tests will fail.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants