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: Sam Weinig <weinig@apple.com>
Date: Mon, 24 May 2010 10:14:03 -0700
Cc: Maciej Stachowiak <mjs@apple.com>, public-webapps@w3.org, Ian Hickson <ian@hixie.ch>, cam@mcc.id.au
Message-Id: <7235C56B-3064-43CA-AA4B-A0E465D04E34@apple.com>
To: Jeremy Orlow <jorlow@chromium.org>

On May 24, 2010, at 3:30 AM, Jeremy Orlow wrote:

> 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.

I am happy to add language for a Date type.

Received on Monday, 24 May 2010 17:14:40 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:25 UTC