Re: [ambient light events LC] Feedback

On Tue, Dec 18, 2012 at 6:30 AM, Anne van Kesteren <annevk@annevk.nl> wrote:

> > dictionary LightLevelEventInit : EventInit {
> >     LightLevel? value;
> > };
>
> The enum should not be nullable. If you use this drop the ? as that is
> not needed here.
>

That would break this:

* In 6.2.2 (the definition of how to fire the event), if the light
> level can't be determined, the .value attribute of the event should be
> null, not the empty string.  I've already handled the nullability in
> the WebIDL above.
>

-- 
Glenn Maynard

Received on Tuesday, 18 December 2012 13:54:00 UTC