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 10321 - [IndexedDB] Description attribute of IDBDatabase doesn't play nicely with run to completion
Summary: [IndexedDB] Description attribute of IDBDatabase doesn't play nicely with run...
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: Indexed Database API (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Andrei Popescu
QA Contact: public-webapps-bugzilla
Depends on:
Reported: 2010-08-09 12:10 UTC by Jeremy Orlow
Modified: 2010-08-09 12:53 UTC (History)
2 users (show)

See Also:


Description Jeremy Orlow 2010-08-09 12:10:24 UTC
When opening a database, one of the parameters is description.  If you specify it, that description is set on the database, no matter what the previous description was.  There's also a "description" attribute on IDBDatabase(+ Sync).  Since IndexedDB is usable by workers (and other pages' event loops, in some implementations) this presents a problem with run to completion.  The easiest solution is to spec IDBDatabase(Sync).description to be the description you passed in to .open (and not a live value).

I believe this is the only synchronous attribute with such a problem.
Comment 1 Andrei Popescu 2010-08-09 12:12:44 UTC
Fixed in
Comment 2 Jeremy Orlow 2010-08-09 12:53:39 UTC
Er..I meant to say "whatever the description was at the time of opening" not just whatever you passed in.

But that seems to be what you changed it to perfect.  :-)