[webkit-dev] Web SQL Database API - openDatabaseSync
Evan Ireland
eireland at sybase.com
Thu Jul 1 18:38:03 PDT 2010
Eric,
Thanks.
One more question if you don't mind. Is the async version of SQL Database
API and worker thread support available in a version of webkit that is
generally available on Android-based smartphones?
-----Original Message-----
From: Eric Uhrhane [mailto:ericu at google.com]
Sent: Friday, 2 July 2010 9:53 a.m.
To: Evan Ireland
Cc: webkit-dev at lists.webkit.org
Subject: Re: [webkit-dev] Web SQL Database API - openDatabaseSync
On Thu, Jul 1, 2010 at 2:07 PM, Evan Ireland <eireland at sybase.com> wrote:
> Does anyone have an implementation of the synchronous SQL Database API
> (openDatabaseSync...)?
Not as far as I know, but Dumi will have one completed in [webkit and
chrome] shortly.
> If so, is it usable from the main UI (non-worker) browser thread?
No, by design, that API is only accessable from worker context. In
the document context you have to use the asynchronous API [which is
currently available on worker threads in webkit and chromium].
> If not, does anyone have an ETA on availability of the synchronous API
> usable from the main UI thread.
It's not likely that anyone will implement this, as it's a) not in the
spec; b) guaranteed to cause awkward lockups of the whole UI.
Eric
More information about the webkit-dev
mailing list