Re: [heycam/webidl] Make interface prototype object creation imperative (#494)

tobie commented on this pull request.



>  
-    The [=interface prototype object=]
-    for a given interface |A| must have a
-    \[[Prototype]] [=internal slot=] whose value is returned from
-    the following steps:
+    The [=interface prototype object=] for a given [=interface=] |interface| and [=Realm=] |realm|
+    is created as follows:

Would you go for:

```
<h4>Named properties object</h4>

For every [=interface=] declared with the [{{Global}}] [=extended attribute=]
that [=support named properties|supports named properties=],
there must exist an object known as the [=named properties object=]
for that interface on which named properties are exposed.

<div algorithm>
    The <dfn export>named properties object</dfn>
    for a given [=interface=] |interface| and [=Realm=] |realm|, is created as follows:
    
    […]
</div>
```

or:

```
<h4>Named properties object</h4>

For every [=interface=] declared with the [{{Global}}] [=extended attribute=]
that [=support named properties|supports named properties=],
there must exist an object known as the <dfn export>named properties object</dfn>
for that interface on which named properties are exposed.

<div algorithm>    
    <dfn abstract-op>NamedPropertiesObjectCreate(|interface|, |realm|)</dfn>
   
    […]
</div>
```


-- 
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_r161321239

Received on Friday, 12 January 2018 21:01:34 UTC