Bug 62416

Summary: IndexedDB: transaction() storeNames argument is required
Product: WebKit Reporter: Mark Pilgrim (Google) <pilgrim>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: dgrogan, hans, tony
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
test case none

Mark Pilgrim (Google)
Reported 2011-06-09 17:16:02 PDT
Created attachment 96668 [details] test case http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#widl-IDBDatabase-transaction-IDBTransaction-any-storeNames-unsigned-short-mode states that the storeNames argument to transaction() must be present (required and not null). This test calls transaction() without any arguments. Expected behavior: throw IDBDatabaseException.NON_TRANSIENT_ERR Actual behavior: does not throw, creates transaction Test case attached.
Attachments
test case (1.83 KB, text/html)
2011-06-09 17:16 PDT, Mark Pilgrim (Google)
no flags
Mark Pilgrim (Google)
Comment 1 2011-06-20 17:53:49 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:30 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.