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."""
Created attachment 89682 [details] test case
This will be fixed by the patch to bug 58609. *** This bug has been marked as a duplicate of bug 58609 ***