http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#widl-IDBIndex-get-IDBRequest-any-key states that the key argument of IDBIndex.get() method is required. As per WebIDL, missing required arguments now throw TypeError. This also applies to the IDBIndex.getKey() method as well. Attached test case calls .get() and .getKey() with no arguments. Expected behavior: throw TypeError Actual behavior: does not throw Patch included.
Created attachment 98014 [details] Patch
Comment on attachment 98014 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=98014&action=review Other than minor comment below, LGTM > LayoutTests/storage/indexeddb/index-get-key-argument-required.html:14 > +description("Test IndexedDB undefined as record value"); Forgot to update this.
Created attachment 98024 [details] patch with nits
Comment on attachment 98024 [details] patch with nits Clearing flags on attachment: 98024 Committed r89377: <http://trac.webkit.org/changeset/89377>
All reviewed patches have been landed. Closing bug.