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


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.

Reply via email to