Re: [heycam/webidl] Conversion for (SomeDictionary or sequence<T>) seems incorrect (#123)

This is part of the constrainable pattern, where people wanted to specify a single value (a="foo"), a set of alternative values (a=["foo", "bar"]), or a complex set of restrictions on values (a={exact: ["foo", "bar"]}), all with the fewest number of brackets.

This part of the spec hasn't changed for years, and I suspect that Firefox and Edge implement it - Chrome's been the laggard because it's been waiting for the support for unions to improve in general.
Tagging @jan-ivar and @aboba to reply on whether they implemented this.


---
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/123#issuecomment-220266539

Received on Thursday, 19 May 2016 08:59:02 UTC