W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2012

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

From: <bugzilla@jessica.w3.org>
Date: Sun, 25 Mar 2012 14:03:00 +0000
To: public-webapps@w3.org
Message-ID: <bug-16513-2927@http.www.w3.org/Bugs/Public/>

           Summary: Use WebIDL enum for IDBDatabase.transaction's mode
           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

This archive was generated by hypermail 2.3.1 : Wednesday, 11 February 2015 14:36:57 UTC