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: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
                CC: [email protected], [email protected]


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.

Reply via email to