[heycam/webidl] ObservableArray and Namespace (#942)

The part of the attribute getter algorithm [responsible for returning the backing OAEO](https://heycam.github.io/webidl/#ref-for-dfn-observable-array-type%E2%91%A2) is only reachable for attributes whose target is an interface. However it doesn’t seem like anything forbids the regular attributes of namespaces from having ObservableArray as their type.

It seems like either:

1. [the constraints for where ObservableArray is usable](https://heycam.github.io/webidl/#ref-for-dfn-regular-attribute⑧) should say “...of interfaces” or
2. [1.1.2.4 of create an attribute getter](https://heycam.github.io/webidl/#dfn-attribute-getter) should be lifted up to be between 1.1.2 and 1.1.3.

(Though I’m not sure which is what was intended.)

-- 
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/942

Received on Sunday, 29 November 2020 04:42:53 UTC