Chrome IndexedDB sync api future

412 views
Skip to first unread message

Deni Spasovski

unread,
Aug 7, 2012, 1:25:23 PM8/7/12
to chromiu...@chromium.org
I'm currently working on an application which involves accessing IndexedDB in Google Chrome from web workers. However i recently read on the chrome web platform status page and w3c IndexedDB draft that:

The Sync API is not supported - but neither IE nor Firefox support this either; it is marked as "At Risk" in the spec

I wondering, if this means that web workers won't be able to access indexed db in the future or they'll use the Async API to access it?

Joshua Bell

unread,
Aug 7, 2012, 1:49:26 PM8/7/12
to Deni Spasovski, chromiu...@chromium.org
Workers can use the Async API (same as normal Window contexts) - Chrome, IE and Firefox all support this.


--
You received this message because you are subscribed to the Google Groups "Chromium HTML5" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msg/chromium-html5/-/48JngpcQU1sJ.
To post to this group, send email to chromiu...@chromium.org.
To unsubscribe from this group, send email to chromium-html...@chromium.org.
For more options, visit this group at http://groups.google.com/a/chromium.org/group/chromium-html5/?hl=en.

gregd

unread,
Dec 10, 2012, 4:10:50 PM12/10/12
to chromiu...@chromium.org, Deni Spasovski
I've tried to use IDB async API and it is really hard to write clean code. Of course the jQuery wrapper lib helps a lot however it is still torture to use IDB. No wonder people still prefer write code on the server side.
 
Are there any chances that IDB sync API within web workers will be implemented in near future? 

David Grogan

unread,
Dec 10, 2012, 5:06:59 PM12/10/12
to gregd, chromiu...@chromium.org, Deni Spasovski
On Mon, Dec 10, 2012 at 1:10 PM, gregd <gdan...@gmail.com> wrote:
I've tried to use IDB async API and it is really hard to write clean code. Of course the jQuery wrapper lib helps a lot however it is still torture to use IDB. No wonder people still prefer write code on the server side.
 
Are there any chances that IDB sync API within web workers will be implemented in near future? 

It is not a priority for us at least through chrome 26.  We haven't planned further than that.
 


On Tuesday, August 7, 2012 7:49:26 PM UTC+2, Joshua Bell wrote:
Workers can use the Async API (same as normal Window contexts) - Chrome, IE and Firefox all support this.

On Tue, Aug 7, 2012 at 11:25 AM, Deni Spasovski <den...@gmail.com> wrote:
I'm currently working on an application which involves accessing IndexedDB in Google Chrome from web workers. However i recently read on the chrome web platform status page and w3c IndexedDB draft that:

The Sync API is not supported - but neither IE nor Firefox support this either; it is marked as "At Risk" in the spec

I wondering, if this means that web workers won't be able to access indexed db in the future or they'll use the Async API to access it?

--
You received this message because you are subscribed to the Google Groups "Chromium HTML5" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msg/chromium-html5/-/48JngpcQU1sJ.
To post to this group, send email to chromiu...@chromium.org.
To unsubscribe from this group, send email to chromium-html...@chromium.org.

--
You received this message because you are subscribed to the Google Groups "Chromium HTML5" group.
Reply all
Reply to author
Forward
0 new messages