[Webkit-unassigned] [Bug 58609] New: IndexedDB put() 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 17:24:54 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=58609
Summary: IndexedDB put() 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, hans at chromium.org,
dgrogan at chromium.org
Original test at http://mxr.mozilla.org/mozilla2.0/source/dom/indexedDB/test/test_key_requirements.html?force=1#102 tests that Mozilla properly throws a DATA_ERR when calling put() with no second (key) parameter on an object store that was created with no keyPath (out-of-line keys) and no autoIncrement (key generator). According to http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#widl-IDBObjectStore-put
"""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