This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Sometimes knowing the difference between someone passing in an empty sequence versus nothing is useful, but at other times an invariant that didn't care would be better. In the latter case, the Optional<>::WasPassed() and Optional<>::Value() bindings get in the way when assuming an empty array would make for simpler code.
Thanks, I've added this now: https://github.com/heycam/webidl/commit/b0c3626a97de27578508aa7a3f52c1b30f26d2bf
Shouldn't we only allow [] for nullable sequence types, not all nullable types? But also, we should allow it for unions containing sequence, imo.
Also, "The type of this value is the same the type" is missing an "as".