Should restrictions on attribute types look at flattened member types of unions?

This is not valid WebIDL:

   attribute sequence<long> foo;

but this seems to be valid at the moment:

   attribute (sequence<long> or DOMString) foo;

why should we allow the latter if we don't allow the former?  Seems like 
it would be more consistent to forbid the latter...

-Boris

Received on Tuesday, 19 June 2012 06:13:09 UTC