- From: Tobie Langel <notifications@github.com>
- Date: Tue, 10 Apr 2018 12:34:34 +0000 (UTC)
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <heycam/webidl/pull/494/review/110814341@github.com>
tobie commented on this pull request. > + 1. [=list/For each=] [=exposed=] [=member=] |member| of |interface| + that is declared with the [{{Unscopable}}] [=extended attribute=]: + 1. Let |id| be |member|'s [=identifier=]. + 1. Perform [=!=] <a abstract-op>CreateDataProperty</a>(|unscopableObject|, |id|, + <emu-val>true</emu-val>). + 1. Let |desc| be the PropertyDescriptor{\[[Value]]: |unscopableObject|, + \[[Writable]]: <emu-val>false</emu-val>, \[[Enumerable]]: <emu-val>false</emu-val>, + \[[Configurable]]: <emu-val>true</emu-val>}. + 1. Perform [=!=] <a abstract-op>DefinePropertyOrThrow</a>(|interfaceProtoObj|, {{@@unscopables}}, |desc|). + 1. If |interface| is declared with the [{{Global}}] [=extended attribute=], or + |interface| is in the set of [=inherited interfaces=] of an interface + that is declared with the [{{Global}}] [=extended attribute=], then: + 1. Set the internal methods of |interfaceProtoObj| + which are specific to [=immutable prototype exotic objects=] + to the definitions specified in + [=ECMA-262 §9.4.7|ECMA-262 §9.4.7 Immutable prototype exotic objects=]. Agree with @TimothyGu. Filed here: https://github.com/heycam/webidl/issues/542 -- 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/494#discussion_r180402766
Received on Tuesday, 10 April 2018 12:35:07 UTC