http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#idl-def-IDBObjectStore lists required arguments to put(), add(), delete(), get(), createIndex(), index(), and deleteIndex(). As per the WebIDL spec, calling functions with missing required arguments should throw a TypeError. This test calls these functions with no arguments, or with too few arguments, to see what happens. Expected behavior: throw TypeError Actual behavior: no exception thrown Patch included. The fix is to remove the LegacyDefaultOptionalArguments flag from IDBObjectStore.idl, which will force the code generator to check for required arguments and throw TypeError when they are missing.
Created attachment 98045 [details] Patch
Comment on attachment 98045 [details] Patch These patches are so beautiful. Thanks!
Comment on attachment 98045 [details] Patch Clearing flags on attachment: 98045 Committed r89383: <http://trac.webkit.org/changeset/89383>
All reviewed patches have been landed. Closing bug.