[Webkit-unassigned] [Bug 76075] IndexedDB: Invalid keys yielded by key paths should raise exceptions, not error callbacks

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 11 10:27:23 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=76075





--- Comment #1 from Joshua Bell <jsbell at chromium.org>  2012-01-11 10:27:23 PST ---
Applies to these clauses in the spec, which should occur synchronously prior to creation of the request:

* The object store uses in-line keys and the result of evaluating the object store's key path yields a value and that value is not a valid key.
* If there are any indexes referencing this object store whose key path is a string, evaluating their key path on the value parameter yields a value, and that value is not a valid key.
* If there are any indexes referencing this object store whose key path is an Array, evaluating any of the items in their key path on the value parameter yields a value and that value is not a valid key.

In all of these cases we evaluate the keyPath during the asynchronous processing of the request during the transaction, not prior to the creation of the request.

-- 
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