Skip to content
  • jsbell@chromium.org's avatar
    IndexedDB: Use sequence<> instead of DOMString[] in IDL · f9ad3f4f
    jsbell@chromium.org authored
    https://bugs.webkit.org/show_bug.cgi?id=100539
    
    Reviewed by Adam Barth.
    
    In the binding layer, DOMString[] is implemented as an alias for DOMStringList.
    WebIDL usage is tending towards sequence<DOMString> anyway for inputs, so switch
    to that. Note webkit.org/b/100537 which requires sequence<String> instead.
    
    Covered by storage/indexeddb/transaction-basics.html and objectstore-basics.html
    
    * Modules/indexeddb/IDBDatabase.cpp:
    (WebCore::IDBDatabase::transaction): DOMStringList -> Vector<String>
    * Modules/indexeddb/IDBDatabase.h:
    (WebCore::IDBDatabase::transaction):
    (IDBDatabase):
    * Modules/indexeddb/IDBDatabase.idl: DOMString[] -> sequence<String>
    * Modules/indexeddb/IDBObjectStore.cpp: Move trivial impls to header.
    * Modules/indexeddb/IDBObjectStore.h:
    (WebCore::IDBObjectStore::createIndex):
    * Modules/indexeddb/IDBObjectStore.idl: DOMString[] -> sequence<String>
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134342 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    f9ad3f4f