W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2012

[Bug 16653] New: IndexedDB: Define overloads for IDBDatabase.transaction()

From: <bugzilla@jessica.w3.org>
Date: Fri, 06 Apr 2012 18:41:32 +0000
To: public-webapps@w3.org
Message-ID: <bug-16653-2927@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16653

           Summary: IndexedDB: Define overloads for
                    IDBDatabase.transaction()
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Indexed Database API
        AssignedTo: dave.null@w3.org
        ReportedBy: jsbell@chromium.org
         QAContact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-webapps@w3.org


Currently the IDL is:

  IDBTransaction transaction (any storeNames, optional DOMString mode);

There was discussion on the list about removing "any" and using overloads to
define the binding behavior here, e.g.:

  IDBTransaction transaction (DOMString storeName, optional DOMString mode);
  IDBTransaction transaction (sequence<DOMString> storeNames, optional
DOMString mode);
  IDBTransaction transaction (DOMStringList storeNames, optional DOMString
mode);

Not sure if we want sequence<DOMString> or DOMString[] (I think the former is
the new hotness); also, not sure if DOMStringList can be defined to "coerce" to
sequence<DOMString> to reduce the use of that type.

-- 
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 Friday, 6 April 2012 18:41:35 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:51 GMT