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 11266 - Add IDBObjectStore.clear()
Summary: Add IDBObjectStore.clear()
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: This bug has no owner yet - up for the taking
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-08 21:27 UTC by Jonas Sicking (Not reading bugmail)
Modified: 2010-11-08 22:04 UTC (History)
2 users (show)

See Also:


Attachments

Description Jonas Sicking (Not reading bugmail) 2010-11-08 21:27:58 UTC
From the thread "[IndexedDB] Need a method to clear an object store" started on august 3rd.

People seemed to agree that this was useful and have a good cost/value ratio.

The function should return a IDBRequest which has a result of null or undefined.
Comment 1 Jonas Sicking (Not reading bugmail) 2010-11-08 22:04:49 UTC
Checked in http://dvcs.w3.org/hg/IndexedDB/rev/5de451aac387