[Webkit-unassigned] [Bug 86123] New: IndexedDB: Implement spec behavior for multiEntry indexes with invalid/duplicate subkeys
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu May 10 11:56:51 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=86123
Summary: IndexedDB: Implement spec behavior for multiEntry
indexes with invalid/duplicate subkeys
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore Misc.
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: jsbell at chromium.org
The spec details the handling of multiEntry key paths where the key path yields an array and the array includes values that are duplicates or invalid sub-keys. WebKit's implementation (WebCore/binding/v8/IDBBindingUtilities.cpp) yields an overall InvalidType key if any of the subkeys are invalid.
http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#dfn-steps-for-storing-a-record-into-an-object-store
7.4 If index's multiEntry flag is true, and index key is an Array, remove any elements from index key that are not valid keys and remove any duplicate elements from index key such that only one instance of the duplicate value remains.
For example, the following value of index key [10, 20, null, 30, 20] is converted to [10, 20, 30].
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list