Summary: | IDBDatabase.transaction() should take a union in parameter | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Chris Dumez <cdumez> | ||||
Component: | WebCore Misc. | Assignee: | Chris Dumez <cdumez> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | alecflett, beidson, commit-queue, darin, esprehn+autocc, jsbell, kondapallykalyan, sam | ||||
Priority: | P2 | ||||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
URL: | https://www.w3.org/TR/IndexedDB/#widl-IDBDatabase-transaction-IDBTransaction-DOMString-sequence-DOMString--storeNames-IDBTransactionMode-mode | ||||||
Attachments: |
|
Description
Chris Dumez
2016-10-25 12:39:42 PDT
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. |