[Webkit-unassigned] [Bug 58599] New: IndexedDB add() should fail adding to object store that uses out-of-line keys and has no key generator and the key parameter was not provided
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Apr 14 16:36:42 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=58599
Summary: IndexedDB add() should fail adding to object store
that uses out-of-line keys and has no key generator
and the key parameter was not provided
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P3
Component: New Bugs
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: pilgrim at chromium.org
CC: fishd at chromium.org
Original test: http://mxr.mozilla.org/mozilla2.0/source/dom/indexedDB/test/test_key_requirements.html?force=1#92
Mozilla correctly throws a DATA_ERR in this case. WebKit does not throw. Mozilla's behavior is supported by spec text, specifically http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#widl-IDBObjectStore-add
"""If any of the following conditions are true, this method throws a DATA_ERR exception: ... The object store uses out-of-line keys and has no key generator and the key parameter was not provided."""
--
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