[heycam/webidl] Do objects support indexed/named properties, or do their interfaces? (#199)

This is a minor editorial nit.

According to the definitions, these predicates apply to interfaces, not JavaScript objects:

> An interface that defines an indexed property getter is said to support indexed properties.

> An interface that defines a named property getter is said to support named properties.

However, a few  places in the spec use them on objects directly:

> If O supports named properties, O does not implement an interface with the [Global] or [PrimaryGlobal] extended attribute ...

(and many more)

I see two potential fixes:

1. Change them all to "If O implements an interface that supports named properties"
2. In the definitions of those phrases, say "A platform object is said to support named properties if it implements an interface that supports named properties."

-- 
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/issues/199

Received on Saturday, 22 October 2016 15:53:21 UTC