- From: Timothy Gu <notifications@github.com>
- Date: Tue, 19 Dec 2017 20:51:26 -0800
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <heycam/webidl/pull/494/review/84661916@github.com>
TimothyGu commented on this pull request. > + given |op|, |interface|, and |realm|. + 1. Let |modifiable| be <emu-val>false</emu-val> if |op| is [=unforgeable=] + and <emu-val>true</emu-val> otherwise. + 1. Let |desc| be the PropertyDescriptor{\[[Value]]: |method|, + \[[Writable]]: |modifiable|, \[[Enumerable]]: <emu-val>true</emu-val>, + \[[Configurable]]: |modifiable|}. + 1. Let |id| be |op|'s [=identifier=]. + 1. Perform [=!=] <a abstract-op>DefinePropertyOrThrow</a>(|interfaceProtoObj|, |id|, |desc|). + 1. [=Expose the constants=] of |interface| on |interfaceProtoObj|. + 1. If the [{{NoInterfaceObject}}] [=extended attribute=] was not specified on |interface|, then: + 1. Let |constructor| be the [=interface object=] of |interface|. + 1. Let |desc| be the PropertyDescriptor{\[[Writable]]: <emu-val>true</emu-val>, + \[[Enumerable]]: <emu-val>false</emu-val>, \[[Configurable]]: <emu-val>true</emu-val>, + \[[Value]]: |constructor|}. + 1. Perform [=!=] <a abstract-op>DefinePropertyOrThrow</a>(|interfaceProtoObj|, "<code>constructor</code>", |desc|). + 1. Return |interfaceProtoObj|. This is still missing special operations and iterable/maplike/setlike declarations :slightly_frowning_face: -- 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#pullrequestreview-84661916
Received on Wednesday, 20 December 2017 04:51:50 UTC