W3C home > Mailing lists > Public > public-script-coord@w3.org > April to June 2013

Re: undefined values in dictionaries

From: Rik Cabanier <cabanier@gmail.com>
Date: Tue, 11 Jun 2013 20:28:52 -0700
Message-ID: <CAGN7qDB1MkcKeD5g4qeSQW69X4Z=4X1rX1CBsDCfqpGNArXDog@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: "public-script-coord@w3.org" <public-script-coord@w3.org>
You've told me that dictionary members are optional by default [1]. Why
does their IDL have '?' for most entries? Isn't that implied since every
entry is optional anyway?

1:
http://lists.w3.org/Archives/Public/public-whatwg-archive/2013Jan/0324.html


On Tue, Jun 11, 2013 at 7:56 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:

> On 6/11/13 10:51 PM, Rik Cabanier wrote:
>
>> That is a weird API. Where is it posted?
>>
>
> https://bugzilla.mozilla.org/**show_bug.cgi?id=850430<https://bugzilla.mozilla.org/show_bug.cgi?id=850430>
>
>
>  Why just not pass those arguments in so they're undefined in the
>> dictionary?
>>
>
> I did ask that, yes.  Still waiting on an answer.
>
> -Boris
>
Received on Wednesday, 12 June 2013 03:29:23 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:37:49 UTC