HostGetSource and HostNormalizeModuleName

Allen Wirfs-Brock allen at wirfs-brock.com
Wed Dec 10 14:53:50 PST 2014


On Dec 10, 2014, at 12:50 PM, Dave Herman wrote:

> I owe everyone a draft of the loader semantics, but for now here's a way to think about the interface between Ecma-262 and the loader spec: the "names" the ES spec is talking about are *not* the names used by the loader or in the registry. They are just GUIDs -- you can think of them as just being references to the internal module record, but serialized as GUID strings. AIUI Allen wanted to reify them as strings just to provide a more abstract way for the loader spec to reference module records without actually looking at their internals.

Dave, you may not have noticed that in the latest released draft they are called moduleIDs rather than moduleNames.

Allen




More information about the es-discuss mailing list