RESOLVED DUPLICATE of bug 58609 58599
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
https://bugs.webkit.org/show_bug.cgi?id=58599
Summary IndexedDB add() should fail adding to object store that uses out-of-line keys...
Mark Pilgrim (Google)
Reported 2011-04-14 16:36:42 PDT
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."""
Attachments
test case (1.69 KB, text/html)
2011-04-14 16:36 PDT, Mark Pilgrim (Google)
no flags
Mark Pilgrim (Google)
Comment 1 2011-04-14 16:36:59 PDT
Created attachment 89682 [details] test case
Mark Pilgrim (Google)
Comment 2 2011-04-28 19:01:38 PDT
This will be fixed by the patch to bug 58609. *** This bug has been marked as a duplicate of bug 58609 ***
Note You need to log in before you can comment on or make changes to this bug.