RE: WebIDL, optional attributes

Hi Andrei,

WebIDL seems to be the normative format for Geolocation API:

"Implementations that use ECMAScript to implement the APIs defined in this specification must implement them in a manner consistent with the ECMAScript Bindings defined in the Web IDL specification, as this specification uses that specification's terminology. [WEBIDL]"

and "double" is not in WebIDL.
WebIDL is also still a WD and I assume there could be a discussion in the WebApps WG about "float" and "double".
I hope both groups will come to a conclusion promptly.

WRT moving to LC I assume the "double" issue shall be clarified during the LC at the latest.

Thanks.

Kind regards,
Marcin

Marcin Hanclik
ACCESS Systems Germany GmbH
Tel: +49-208-8290-6452  |  Fax: +49-208-8290-6465
Mobile: +49-163-8290-646
E-Mail: marcin.hanclik@access-company.com

-----Original Message-----
From: Andrei Popescu [mailto:andreip@google.com]
Sent: Wednesday, June 10, 2009 2:06 PM
To: Anne van Kesteren
Cc: Marcin Hanclik; public-geolocation
Subject: 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.
>

Hmm, I just checked and, funny enough, OMG IDL does have double...

Andrei

________________________________________

Access Systems Germany GmbH
Essener Strasse 5  |  D-46047 Oberhausen
HRB 13548 Amtsgericht Duisburg
Geschaeftsfuehrer: Michel Piquemal, Tomonori Watanabe, Yusuke Kanda

www.access-company.com

CONFIDENTIALITY NOTICE
This e-mail and any attachments hereto may contain information that is privileged or confidential, and is intended for use only by the
individual or entity to which it is addressed. Any disclosure, copying or distribution of the information by anyone else is strictly prohibited.
If you have received this document in error, please notify us promptly by responding to this e-mail. Thank you.

Received on Wednesday, 10 June 2009 12:32:14 UTC