From 0fdadbd3577a991c266dc16e9d680fbfae534808 Mon Sep 17 00:00:00 2001 From: Guy Bedford Date: Mon, 2 Dec 2024 18:22:18 -0800 Subject: [PATCH 1/2] editorial: notes adjustments from review --- spec.emu | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/spec.emu b/spec.emu index d57580d..b25f5ea 100644 --- a/spec.emu +++ b/spec.emu @@ -1209,7 +1209,7 @@ contributors: Luca Casonato, Guy Bedford

Despite not being called from ECMA-262, ModuleSourcesEqual defines a host equality definition needed in HostLoadImportedModule for Source Text Module Record.

-

It is also the only use of the [[SourceText]] field as providing for this equality checking, distinct from the [[EcmaScriptCode]] field.

+

The [[SourceText]] field is only used to define source text equality and serialization.

@@ -1398,7 +1398,8 @@ contributors: Luca Casonato, Guy Bedford

Reflection

Module Source Objects

-

Module Source Objects represent modules in their source import phase, which are not linked, instantiated or executed.

+

Module Source Objects represent modules in their source import phase, which are not linked, instantiated or executed.

+

Module Source Objects represent the immutable data associated with a module record, distinct from linking, instantiation or execution state.

A Module Source Object is an object for which HostGetModuleSourceNameGetModuleSourceModuleRecord returns a normal completion.

All Module Source Objects should have a prototype of %AbstractModuleSource%.prototype.

Hosts may define their own %AbstractModuleSource% subclasses for custom module types.

From dc33288177119243a68ca3fe81b31200159afac1 Mon Sep 17 00:00:00 2001 From: Guy Bedford Date: Mon, 2 Dec 2024 18:22:31 -0800 Subject: [PATCH 2/2] rebuild --- build/index.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/build/index.html b/build/index.html index 4ab6154..0dcf136 100644 --- a/build/index.html +++ b/build/index.html @@ -2696,7 +2696,7 @@

Stage 2 Draft / December 1, 2024

ECMAScript Module Phase Imports

+

Stage 2 Draft / December 3, 2024

ECMAScript Module Phase Imports

1 ECMAScript Data Types and Values

@@ -3761,7 +3761,7 @@

16.1.1.2.3 ModuleSourcesEqual ( otherM Note

Despite not being called from ECMA-262, ModuleSourcesEqual defines a host equality definition needed in HostLoadImportedModule for Source Text Module Record.

-

It is also the only use of the [[SourceText]] field as providing for this equality checking, distinct from the [[EcmaScriptCode]] field.

+

The [[SourceText]] field is only used to define source text equality and serialization.

@@ -3869,7 +3869,8 @@

16.1.1.5 HostGetModuleSourceModuleRecord (

28 Reflection

28.1 Module Source Objects

-

Module Source Objects represent modules in their source import phase, which are not linked, instantiated or executed.

+

Module Source Objects represent modules in their source import phase, which are not linked, instantiated or executed.

+

Module Source Objects represent the immutable data associated with a module record, distinct from linking, instantiation or execution state.

A Module Source Object is an object for which HostGetModuleSourceNameGetModuleSourceModuleRecord returns a normal completion.

All Module Source Objects should have a prototype of %AbstractModuleSource%.prototype.

Hosts may define their own %AbstractModuleSource% subclasses for custom module types.