W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2010

Re: Can IndexedDB depend on JavaScript? (WAS: [Bug 9793] New: Allow dates and floating point numbers in keys)

From: Jeremy Orlow <jorlow@chromium.org>
Date: Mon, 24 May 2010 11:30:30 +0100
Message-ID: <AANLkTincyBRVUh9s9abbpKqahze0eWzj6fpchotDZ4WP@mail.gmail.com>
To: Maciej Stachowiak <mjs@apple.com>
Cc: public-webapps@w3.org, Ian Hickson <ian@hixie.ch>, cam@mcc.id.au, Sam Weinig <weinig@apple.com>
On Sun, May 23, 2010 at 4:06 AM, Maciej Stachowiak <mjs@apple.com> wrote:

>
> On May 22, 2010, at 3:58 AM, Jeremy Orlow wrote:
>
> > Even though no one is currently considering implementing this outside of
> JavaScript land and even though it'll limit us some and making speccing
> harder, I think it'd be a mistake to depend on JavaScript.  And, as far as I
> can tell, the whole point of WebIDL is to not depend on one single language.
>  And I can't think of any others that do.
>
> WebKit exposes Web APIs as part of the native API for embedders, this
> includes Objective-C and GObject bindings. There have also been suggestions
> to add bindings for languages such as Python, Java or Ruby. I think
> interfaces for Web platform APIs should remain language-agnostic to the
> degree possible.
>
> For the date issue specifically, we should consider adding a Web IDL date
> type which could map to JavaScript Date objects and potentially native date
> types for other languages, and something language agnostic for ether
> languages.
>

Cameron/Sam would you be willing to add something like this to WebIDL?  I
have no idea what the spec language would look like otherwise I'd draft up
some proposed text.

J
Received on Monday, 24 May 2010 10:31:25 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:38 GMT