- From: Ms2ger <notifications@github.com>
- Date: Fri, 12 Apr 2019 02:02:38 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 12 April 2019 09:03:02 UTC
Ms2ger commented on this pull request. > +</div> + +Note that like [=namespaces=], modules do not create types. + +Rather than defining behavior when accessed, the [=attributes=] of a [=module=] act as a simple +storage location. The relevant language binding defines the steps to "set a module attribute" to +an IDL value of the type of the [=attribute=]. + +Note: See the ECMAScript binding's definition of [=set a module attribute=]. + +Each module may have <dfn for=module>evaluation steps</dfn> which are executed when the module is +first imported. +These steps have access to a <dfn>this module</dfn> value, which is the [=module=] being +evaluated, and a [=Realm=]. +They may throw an [=exception=], which prevents the module from being accessed. +The [=module/evaluation steps=] for a module |m| must invoke the "set a module attribute" Let's leave it for now. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/heycam/webidl/pull/675#discussion_r274820723
Received on Friday, 12 April 2019 09:03:02 UTC