W3C home > Mailing lists > Public > public-geolocation@w3.org > June 2009

Re: WebIDL, optional attributes

From: Andrei Popescu <andreip@google.com>
Date: Wed, 10 Jun 2009 12:57:10 +0100
Message-ID: <708552fb0906100457q3bf0ba63l1e4752dab47659a6@mail.gmail.com>
To: Anne van Kesteren <annevk@opera.com>
Cc: Marcin Hanclik <Marcin.Hanclik@access-company.com>, public-geolocation <public-geolocation@w3.org>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:50:56 UTC