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

Re: WebIDL, optional attributes

From: Anne van Kesteren <annevk@opera.com>
Date: Wed, 10 Jun 2009 13:51:54 +0200
To: "Andrei Popescu" <andreip@google.com>
Cc: "Marcin Hanclik" <Marcin.Hanclik@access-company.com>, public-geolocation <public-geolocation@w3.org>
Message-ID: <op.uva4kspv64w2qv@annevk-t60>
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.)

Anne van Kesteren
Received on Wednesday, 10 June 2009 11:52:39 UTC

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