Re: WebIDL, optional attributes

On Wed, Jun 10, 2009 at 12:51 PM, Anne van Kesteren<annevk@opera.com> wrote:
> On Wed, 10 Jun 2009 13:42:07 +0200, Andrei Popescu <andreip@google.com> wrote:
>> I guess using a float is also fine since WebIDL says it maps to Number
>> in ECMAScript. But why doesn't WebIDL allow double? Numbers in
>> ECMASctipt are doubles...
>
> Not sure, maybe OMG IDL did it this way and heycam did not think about changing it.
>
>
>> Anyway, I imagine this was already discussed
>> by the group defining WebIDL, do you have any pointer to the
>> discussion? Out of curiosity, I'd like to read it.
>
> I don't recall this being discussed. The goal is mostly to provide a better definition of OMG IDL where the language bindings are defined in a central place plus any extensions specifications written today need. (E.g. optional arguments, overloading, etc.)
>

I see. Ok, I will drop them an email asking about this. Thanks for the
explanation!

Andrei

Received on Wednesday, 10 June 2009 11:57:48 UTC