Bug 17538 - [IndexedDB] Remove error clauses for invalid index keys
Summary: [IndexedDB] Remove error clauses for invalid index keys
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - Indexed Database API (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: public-webapps-bugzilla
Depends on:
Reported: 2012-06-18 18:14 UTC by Joshua Bell
Modified: 2012-07-15 09:27 UTC (History)
3 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Joshua Bell 2012-06-18 18:14:11 UTC
The exception tables for IDBObjectStore's add() and put() methods include:

"The calculated key for the insertion was not a valid key. Also thrown if the calculated key for any of the indexes which belong to this object store had a calculated key which was not a valid key"

However, consensus was reached that if the calculated key for an index is not a valid key then that index is simply skipped rather than failing the add()/put() -see "steps for storing a record into an object store".

I believe the second sentence ("Also thrown if...") should be removed.
Comment 1 Jonas Sicking 2012-07-15 09:27:26 UTC