- From: Daniel Ehrenberg <notifications@github.com>
- Date: Mon, 04 Mar 2019 03:11:54 -0800
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 4 March 2019 11:12:15 UTC
littledan commented on this pull request. > +[=Module members=], [=partial modules=], and [=interface members=] of +[=interfaces=] and [=partial interfaces=] which are [=module members=], must not +be annotated with the [{{Exposed}}] or [{{SecureContext}}] extended attributes. + +Note: This restriction could be relaxed if there is a sufficient use case; +it is omitted here for simplicity of specification and implementation, and a +lack of clear use cases. Please <a +href="https://github.com/heycam/webidl/issues/new?title=Fine%20grained%20exposure%20in%20modules"> +file an issue</a> if you see a need for this feature. + +Each module may have <dfn>module evaluation steps</dfn> which are executed +when the module is first imported. These steps may throw an [=exception=], which +prevents the module from being accessed. + +Rather than defining behavior when accessed, the attributes of a [=module=] act +as a simple storage location. The steps to "set a module attribute" in a I didn't reference this since that would reference the ECMAScript version; each language binding is responsible for defining its own algorithm. -- 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_r262015821
Received on Monday, 4 March 2019 11:12:15 UTC