This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 11553 - Ensure indexedDBSync is on the right worker interface
Summary: Ensure indexedDBSync is on the right worker interface
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: Indexed Database API (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: public-webapps-bugzilla
Depends on:
Reported: 2010-12-15 01:54 UTC by Pablo Castro
Modified: 2011-03-08 04:29 UTC (History)
4 users (show)

See Also:


Description Pablo Castro 2010-12-15 01:54:53 UTC
I just noticed that the async part of the spec has indexedDB in Worker (i.e. "Worker implements IDBEnvironment"), whereas the sync API has it WorkerUtils. The second one is probably just old, so for my current editing pass (bringing sync/async in sync) I'll just change it to "Worker" for consistency. 

However, from looking at the Web Workers spec [1] it seems that IDBEnvironmentSync should be implemented by AbstractWorker so it's available in regular and shared workers. Is that right? If not, what's the right spot?

Comment 1 Jonas Sicking (Not reading bugmail) 2011-03-08 04:29:21 UTC
For the record, it should be WorkerUtils. That's the API that is exposed to the code running *inside* a worker. Worker/AbstractWorker/etc are the interfaces used when talking *to* a worker.