Bug 62416 - IndexedDB: transaction() storeNames argument is required
Summary: IndexedDB: transaction() storeNames argument is required
Status: RESOLVED DUPLICATE of bug 63140
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-09 17:16 PDT by Mark Pilgrim (Google)
Modified: 2011-06-22 08:14 PDT (History)
3 users (show)

See Also:


Attachments
test case (1.83 KB, text/html)
2011-06-09 17:16 PDT, Mark Pilgrim (Google)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Pilgrim (Google) 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.
Comment 1 Mark Pilgrim (Google) 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.
Comment 2 Mark Pilgrim (Google) 2011-06-22 08:14:30 PDT
Consolidating several bugs.

*** This bug has been marked as a duplicate of bug 63140 ***