This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 11406 - [IndexedDB] IDBDatabase.transaction needs to specify exception for invalid mode parameter
Summary: [IndexedDB] IDBDatabase.transaction needs to specify exception for invalid mo...
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: Indexed Database API (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Jeremy Orlow
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-25 12:42 UTC by Jeremy Orlow
Modified: 2011-07-06 22:26 UTC (History)
3 users (show)

See Also:


Attachments

Description Jeremy Orlow 2010-11-25 12:42:57 UTC
[IndexedDB] IDBDatabase.transaction needs to specify exception for invalid mode parameter.
Comment 1 Jeremy Orlow 2010-11-25 20:11:26 UTC
Similar with the direction for openCursor or anything that takes in an enum.
Comment 2 Jeremy Orlow 2011-03-08 04:14:47 UTC
I believe Mozilla throws a NON_TRANSIENT_ERR.
Comment 3 Eliot Graff 2011-07-06 22:26:33 UTC
Added the following to IDBDatabase.transaction & IDBDatabaseSync.transaction:

NON_TRANSIENT_ERR	The value for the mode parameter is invalid.