Difference between revisions of "IndexedDatabaseFeatures"

From WEBAPPS
Jump to: navigation, search
m (Feature List)
m (Add link to Bugs Resolved as WONTFIX and LATER)
Line 1: Line 1:
This wiki documents features of the [http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html Indexed Database] spec that are not included in the first version of the spec.
+
This wiki documents requests for [http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html Indexed Database] features that are not included in the first version of the spec.
  
Those with write access to this document are encouraged to update this document and/or to use [http://www.w3.org/Bugs/Public/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=&product=WebAppsWG&component=Indexed+Database+API&longdesc_type=allwordssubstr&longdesc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&status_whiteboard_type=allwordssubstr&status_whiteboard=&keywords_type=allwords&keywords=&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&emailtype1=substring&email1=&emailtype2=substring&email2=&bug_id_type=anyexact&bug_id=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Reuse+same+sort+as+last+time&field0-0-0=noop&type0-0-0=noop&value0-0-0= Bugzilla] to submit a feature request. Those without such access may submit change requests and/or feature requests to the WG's public-webapps@w3.org list (please use with a Subject header of "[IDB Feature Request]").
+
Those with write access to this document are encouraged to update this document and/or to use [http://www.w3.org/Bugs/Public/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=&product=WebAppsWG&component=Indexed+Database+API&longdesc_type=allwordssubstr&longdesc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&status_whiteboard_type=allwordssubstr&status_whiteboard=&keywords_type=allwords&keywords=&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&emailtype1=substring&email1=&emailtype2=substring&email2=&bug_id_type=anyexact&bug_id=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Reuse+same+sort+as+last+time&field0-0-0=noop&type0-0-0=noop&value0-0-0= Bugzilla] to submit a feature request. Also, see:
 +
 
 +
* [https://www.w3.org/Bugs/Public/buglist.cgi?product=WebAppsWG&component=Indexed%20Database%20API&resolution=WONTFIX&list_id=5514 Bugs resolved as WONTFIX]
 +
* [https://www.w3.org/Bugs/Public/buglist.cgi?product=WebAppsWG&component=Indexed%20Database%20API&resolution=LATER&list_id=5514 Bugs resolved as LATER]
 +
 
 +
If you cannot create a Bugzilla bug for a change requests and/or feature,  send your request to the WG's public-webapps@w3.org list (please use with a Subject header of "[IDB Feature Request]").
  
 
== Feature List ==
 
== Feature List ==
Line 19: Line 24:
 
* Rewindable cursors
 
* Rewindable cursors
 
* Remove DOMStringList usage (see [https://www.w3.org/Bugs/Public/show_bug.cgi?id=16103 Bug 16103])
 
* Remove DOMStringList usage (see [https://www.w3.org/Bugs/Public/show_bug.cgi?id=16103 Bug 16103])
 
See also the Bugzilla database which may include bugs whose [http://www.w3.org/Bugs/Public/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=&product=WebAppsWG&component=Indexed+Database+API&longdesc_type=allwordssubstr&longdesc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&status_whiteboard_type=allwordssubstr&status_whiteboard=&keywords_type=allwords&keywords=&bug_status=RESOLVED&resolution=LATER&emailtype1=substring&email1=&emailtype2=substring&email2=&bug_id_type=anyexact&bug_id=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Reuse+same+sort+as+last+time&field0-0-0=noop&type0-0-0=noop&value0-0-0= Status is RESOLVED and Resolution is LATER].
 

Revision as of 12:43, 21 February 2013

This wiki documents requests for Indexed Database features that are not included in the first version of the spec.

Those with write access to this document are encouraged to update this document and/or to use Bugzilla to submit a feature request. Also, see:

If you cannot create a Bugzilla bug for a change requests and/or feature, send your request to the WG's public-webapps@w3.org list (please use with a Subject header of "[IDB Feature Request]").

Feature List

Indexed Database features that are not included in the first version of the spec:

  • Search by Regular Expression; Michael Brooks on 31-July-2012
  • Binary Keys; Joran Greef on 21-May-2012
  • "Evictable" stores (see Bug 11350)
  • Being able to cancel "versionchange" events
    This would allow a page to signal back to the page calling setVersion that a version upgrade isn't possible right now. Not sure if there are terribly good use cases though.
  • Fast cursors
    The implementation can load several entries at once, expecting that .continue() will be called. However, since we have a requirement that callbacks always happen in the order they were placed, if calls to .continue() is intermixed with other requests, the "prefetching" of cursor content is basically destroyed. We can fix this by allowing "fast" cursor iteration. Callbacks for such iteration would be prioritized and fire before all other callbacks. We can do this either through a objectStore.openFastCursor() API, or a cursot.fastContinue() API.
  • Change-tracking events for synchronizing
    Basically we need to figure out what primitives we need to provide to allow applications to build synchronizing of IndexedDB databases.
  • Fulltext index
    Or whatever primitives needed to support them. Google is doing very active research here.
  • More powerful indexes
    For example the ability to pass in index values during the objectStore.put/add call, or expressions/callbacks instead of plain keypaths.
  • IDBObjectStore/IDBIndex.exists(key)
  • IDBFactory.databases, but non-racy, with guarantees that the set of databases doesn't change.
  • Rewindable cursors
  • Remove DOMStringList usage (see Bug 16103)