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 11104 - [IndexedDB] removeObjectStore/Index should be renamed to delete___
Summary: [IndexedDB] removeObjectStore/Index should be renamed to delete___
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:
Depends on:
Blocks:
 
Reported: 2010-10-20 09:04 UTC by Jeremy Orlow
Modified: 2010-10-22 21:53 UTC (History)
3 users (show)

See Also:


Attachments

Description Jeremy Orlow 2010-10-20 09:04:44 UTC
removeObjectStore/removeIndex should probably be renamed to deleteObjectStore/deleteIndex for consistency with the change to make other remove methods be delete methods.

This was discussed in the "[IndexedDB] Should removeIndex/ObjectStore be renamed to match s/remove/delete/ elsewhere?" thread.
Comment 1 Jonas Sicking (Not reading bugmail) 2010-10-22 21:53:42 UTC
I also rename IDBDatabase.objectStores to IDBDatabase.objectStoreNames to match IDBObjectStore.indexNames as well as be more descriptive.