[Bug 16513] New: Use WebIDL enum for IDBDatabase.transaction's mode argument

https://www.w3.org/Bugs/Public/show_bug.cgi?id=16513

           Summary: Use WebIDL enum for IDBDatabase.transaction's mode
                    argument
           Product: WebAppsWG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Indexed Database API
        AssignedTo: dave.null@w3.org
        ReportedBy: Ms2ger@gmail.com
         QAContact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-webapps@w3.org


enum TransactionMode { "readonly", "readwrite" };
interface IDBDatabase : EventTarget {
  IDBTransaction transaction (any storeNames, optional TransactionMode mode);
};

would do it. This could also have the benefit that you can remove "The value
for the mode parameter is invalid.", which doesn't actually explain when the
value is invalid.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Sunday, 25 March 2012 14:03:02 UTC