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

Re: [IndexedDB] Proposal for async API changes

From: Jeremy Orlow <jorlow@chromium.org>
Date: Thu, 20 May 2010 21:57:21 +0100
Message-ID: <AANLkTinx49BCDh9E1-8WzLFbVmc5JzSapnO5bHzXqNP8@mail.gmail.com>
To: Shawn Wilsher <sdwilsh@mozilla.com>
Cc: Jonas Sicking <jonas@sicking.cc>, Andrei Popescu <andreip@google.com>, Webapps WG <public-webapps@w3.org>
On Thu, May 20, 2010 at 9:37 PM, Shawn Wilsher <sdwilsh@mozilla.com> wrote:

> On 5/20/2010 12:19 PM, Jonas Sicking wrote:
>
>> I additionally like the naming convention. The async interfaces is
>> probably the interface that people will use first. Additionally that
>> interface is available both to workers and to the main thread. So it
>> makes sense to give the async interface the simpler name.
>>
> That is not how it is currently specified (and our proposal doesn't
> indicate either way).  The asynchronous versions are not available to worker
> threads.  I do recall discussion on this, however...
>

There was discussion, and I'm pretty sure the consensus was that it should
be added.  The main reason is that we want code that works in the page to
work in a worker and that it really isn't much of a burden to implementors.

I'll open an issue on this (tomorrow).

J
Received on Thursday, 20 May 2010 20:58:14 GMT

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