Created attachment 96665 [details] test case http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#widl-IDBDatabase-deleteObjectStore-IDBRequest-DOMString-name states that the deleteObjectStore() method's name argument is required and can not be null. This test calls deleteObjectStore() without any arguments. To be clear about what's happening, I first createObjectStore('undefined') (note that is a string) and then deleteObjectStore() twice in a row. Expected behavior: throw IDBDatabaseException.NON_TRANSIENT_ERR twice Actual behavior: first delete does not throw, but deletes the object store named "undefined". Second delete throws a NOT_FOUND_ERR. Test case attached.
Oops. As per WebIDL, the expected behavior is to throw TypeError, not IDBDatabaseException.NON_TRANSIENT_ERR. We'll fix it in the IDL bindings.
Consolidating several bugs. *** This bug has been marked as a duplicate of bug 63140 ***