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

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 UTC