WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 63140
62415
IndexedDB: deleteObjectStore() name argument is required
https://bugs.webkit.org/show_bug.cgi?id=62415
Summary
IndexedDB: deleteObjectStore() name argument is required
Mark Pilgrim (Google)
Reported
2011-06-09 16:59:19 PDT
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.
Attachments
test case
(1.95 KB, text/html)
2011-06-09 16:59 PDT
,
Mark Pilgrim (Google)
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Mark Pilgrim (Google)
Comment 1
2011-06-20 17:52:37 PDT
Oops. As per WebIDL, the expected behavior is to throw TypeError, not IDBDatabaseException.NON_TRANSIENT_ERR. We'll fix it in the IDL bindings.
Mark Pilgrim (Google)
Comment 2
2011-06-22 08:14:17 PDT
Consolidating several bugs. *** This bug has been marked as a duplicate of
bug 63140
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug