IDBDatabase.transaction() should take a union in parameter: - https://www.w3.org/TR/IndexedDB/#widl-IDBDatabase-transaction-IDBTransaction-DOMString-sequence-DOMString--storeNames-IDBTransactionMode-mode
Created attachment 292804 [details] Patch
Comment on attachment 292804 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=292804&action=review > Source/WebCore/Modules/indexeddb/IDBDatabase.cpp:179 > if (objectStores.isEmpty()) > return Exception { IDBDatabaseException::InvalidAccessError, ASCIILiteral("Failed to execute 'transaction' on 'IDBDatabase': The storeNames parameter was empty.") }; Can this case happen?
Comment on attachment 292804 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=292804&action=review >> Source/WebCore/Modules/indexeddb/IDBDatabase.cpp:179 >> return Exception { IDBDatabaseException::InvalidAccessError, ASCIILiteral("Failed to execute 'transaction' on 'IDBDatabase': The storeNames parameter was empty.") }; > > Can this case happen? database.transaction([]) ?
Comment on attachment 292804 [details] Patch Clearing flags on attachment: 292804 Committed r207847: <http://trac.webkit.org/changeset/207847>
All reviewed patches have been landed. Closing bug.