- From: Tobie Langel <notifications@github.com>
- Date: Fri, 12 Jan 2018 10:54:57 +0000 (UTC)
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 12 January 2018 10:55:21 UTC
tobie commented on this pull request. > - [=interface prototype object=] - for the inherited interface. - 1. Otherwise, if |A| is declared with the [{{LegacyArrayClass}}] - extended attribute, then return {{%ArrayPrototype%}}. - 1. Otherwise, return {{%ObjectPrototype%}}. + 1. Let |proto| be null. + 1. If |interface| is declared with the [{{Global}}] [=extended attribute=], + and |interface| [=support named properties|supports named properties=], + then set |proto| to the [=named properties object=] of |interface|, + as defined in [[#named-properties-object]]. + 1. Otherwise, if |interface| is declared to inherit from another interface, + then set |proto| to the [=interface prototype object=] in |realm| + of that [=inherited interface=]. + 1. Otherwise, if |interface| is declared with the [{{LegacyArrayClass}}] [=extended attribute=], + then set |proto| to |realm|.\[[Intrinsics]].[[{{%ArrayPrototype%}}]]. + 1. Otherwise, set |proto| to |realm|.\[[Intrinsics]].[[{{%ObjectPrototype%}}]]. OK, so on second thought, and after having tried it out, your solution is better. -- 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_r161192849
Received on Friday, 12 January 2018 10:55:21 UTC