[Bug 17538] New: [IndexedDB] Remove error clauses for invalid index keys

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17538

           Summary: [IndexedDB] Remove error clauses for invalid index
                    keys
           Product: WebAppsWG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Indexed Database API
        AssignedTo: dave.null@w3.org
        ReportedBy: jsbell@chromium.org
         QAContact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-webapps@w3.org


The exception tables for IDBObjectStore's add() and put() methods include:

"DataError"
"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.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Monday, 18 June 2012 18:14:14 UTC