W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2013

Re: [Future] First arguments should not be optional

From: Jonas Sicking <jonas@sicking.cc>
Date: Wed, 8 May 2013 12:42:29 -0700
Message-ID: <CA+c2ei9qyNugJiqqMYOpJxr69SqHRXOt69UYWjoGAcvJ0dkWYg@mail.gmail.com>
To: Domenic Denicola <domenic@domenicdenicola.com>, Cameron McCormack <cam@mcc.id.au>
Cc: Mounir Lamouri <mounir@lamouri.fr>, "www-dom@w3.org" <www-dom@w3.org>
On Wed, May 8, 2013 at 11:02 AM, Domenic Denicola
<domenic@domenicdenicola.com> wrote:
> This is a good illustration of the kind of conflict between DOM API designers and normal ECMAScript semantics. Normal ECMAScript semantics would demand that `undefined` and no parameter be treated the same.

That's the agreed upon behavior for WebIDL as way, however I don't
think the spec has yet been updated to match that.

/ Jonas
Received on Wednesday, 8 May 2013 19:43:28 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:20 UTC