RESOLVED FIXED Bug 127880
IDB: Implement IDBObjectStore.delete()
https://bugs.webkit.org/show_bug.cgi?id=127880
Summary IDB: Implement IDBObjectStore.delete()
Jon Lee
Reported 2014-01-29 17:54:31 PST
IDB: Implement IDBObjectStore.delete()
Attachments
Patch v1 (18.63 KB, patch)
2014-02-01 12:36 PST, Brady Eidson
sam: review+
Radar WebKit Bug Importer
Comment 1 2014-01-29 17:55:15 PST
Brady Eidson
Comment 2 2014-02-01 12:36:39 PST
Created attachment 222888 [details] Patch v1
Sam Weinig
Comment 3 2014-02-01 12:42:06 PST
Comment on attachment 222888 [details] Patch v1 View in context: https://bugs.webkit.org/attachment.cgi?id=222888&action=review > Source/WebKit2/DatabaseProcess/IndexedDB/sqlite/UniqueIDBDatabaseBackingStoreSQLite.cpp:880 > + keys.append(cursor->currentKey()); > + while (cursor->advance(1)) > + keys.append(cursor->currentKey()); This could probably be a do { } while() loop. > Source/WebKit2/DatabaseProcess/IndexedDB/sqlite/UniqueIDBDatabaseBackingStoreSQLite.cpp:892 > + for (auto key : keys) { This will probably copy each key, which is not what you want. Instead use, for (auto& key : keys)
Brady Eidson
Comment 4 2014-02-01 12:56:16 PST
Note You need to log in before you can comment on or make changes to this bug.