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 10765 - [IndexedDB] Need to add an onblocked event to what's returned from setVersion
Summary: [IndexedDB] Need to add an onblocked event to what's returned from setVersion
Status: RESOLVED FIXED
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
URL:
Whiteboard:
Keywords:
: 10766 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-09-27 10:30 UTC by Jeremy Orlow
Modified: 2010-10-29 17:18 UTC (History)
3 users (show)

See Also:


Attachments

Description Jeremy Orlow 2010-09-27 10:30:20 UTC
Per the '[IndexedDB] A "versionchangeblocked" event' thread [1], we should create a new IDBRequest derivative that has an onblocked event.  This derivative would be returned by setVersion.  onblocked would be fired if setVersion is blocked on another window with an open database connection.  This would allow sites to inform the user of the problem

[1] http://lists.w3.org/Archives/Public/public-webapps/2010JulSep/1029.html
Comment 1 Jeremy Orlow 2010-09-27 15:17:47 UTC
*** Bug 10766 has been marked as a duplicate of this bug. ***
Comment 2 Jonas Sicking (Not reading bugmail) 2010-10-29 17:18:29 UTC
Fixed by http://dvcs.w3.org/hg/IndexedDB/rev/26e7d99ab935

It's a quite complicated checkin so please do check that things look good.