Re: [w3c/webcomponents] HTML modules spec draft editorial feedback (#783)

>  For example, what does HTML Module Record's InitializeEnvironment() look like when it lives in the HTML spec? Is it allowed to just call ES algorithms like CreateMutableBinding() (to prepare the module's default export)

Yep, we call ES abstract ops pretty frequently from the HTML spec; for example see https://html.spec.whatwg.org/#structuredserializeinternal or the other things listed in the JavaScript section of https://html.spec.whatwg.org/#dependencies

> Is the discussion about moving Source Text Module Records into HTML a public one that you could link me to? I'd be interested in following that.

It was first mentioned in https://github.com/tc39/ecma262/pull/1306 (precisely in https://github.com/tc39/ecma262/pull/1306#issuecomment-457944215) and then discussed more in the latest TC39 face to face meeting, minuted in https://github.com/tc39/tc39-notes/blob/master/es9/2019-01/jan-30.md#dynamic-modules-layering

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/783#issuecomment-464248539

Received on Friday, 15 February 2019 23:39:57 UTC