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."""
Created attachment 89696 [details] test case
Created attachment 91617 [details] Patch
*** Bug 58599 has been marked as a duplicate of this bug. ***
Unofficial r+.
+tony for some r+ and cq+ action
Comment on attachment 91617 [details] Patch Clearing flags on attachment: 91617 Committed r86804: <http://trac.webkit.org/changeset/86804>
All reviewed patches have been landed. Closing bug.