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: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 24 May 2010 13:25:20 -0700
Message-ID: <AANLkTikOB0v9wUSd9mqdfEDbF8j_C_r4VswlDxJpcr38@mail.gmail.com>
To: Jonas Sicking <jonas@sicking.cc>
Cc: Jeremy Orlow <jorlow@chromium.org>, public-webapps@w3.org, Ian Hickson <ian@hixie.ch>
On Mon, May 24, 2010 at 1:21 PM, Jonas Sicking <jonas@sicking.cc> wrote:
> As for the keyPath issue. The way the spec stands now (where I think
> it intends not to allow full expressions), I don't think it really
> depends on Javascript. It does depend on the language having some way
> to represent structured data. I.e. that the language can hold
> something like:
>
> { foo: "bar",
>  complex: { p1: "hello", p2: "world"} }
>
> I'm not really sure how you would return a value like that to
> Objective-C. How does WebKit intend to deal with that in APIs where
> this issue already exist, such as postMessage?

Surely any language that has some way of dealing with JSON already has
an answer for this, correct?

~TJ
Received on Monday, 24 May 2010 20:26:15 GMT

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