RESOLVED DUPLICATE of bug 58613 58611
IndexedDB add() should fail if second (key) parameter is null
https://bugs.webkit.org/show_bug.cgi?id=58611
Summary IndexedDB add() should fail if second (key) parameter is null
Mark Pilgrim (Google)
Reported 2011-04-14 17:30:14 PDT
http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#widl-IDBObjectStore-add says the second (key) parameter is optional when calling add(), but if specified it must not be null. Mozilla correctly throws a DATA_ERR (test: http://mxr.mozilla.org/mozilla2.0/source/dom/indexedDB/test/test_key_requirements.html?force=1#196 ) but WebKit does not throw.
Attachments
test case (1.66 KB, text/html)
2011-04-14 17:30 PDT, Mark Pilgrim (Google)
no flags
Mark Pilgrim (Google)
Comment 1 2011-04-14 17:30:42 PDT
Created attachment 89698 [details] test case
Mark Pilgrim (Google)
Comment 2 2011-04-28 19:00:45 PDT
This is fixed by the patch to bug 58613. *** This bug has been marked as a duplicate of bug 58613 ***
Note You need to log in before you can comment on or make changes to this bug.