IndexedDB 2.0: Support IDBObjectStore openKeyCursor
<rdar://problem/28806930>
Created attachment 292810 [details] Patch
Created attachment 292812 [details] Patch
Created attachment 292813 [details] Patch
Comment on attachment 292812 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=292812&action=review > Source/WebCore/Modules/indexeddb/IDBObjectStore.cpp:168 > - auto info = IDBCursorInfo::objectStoreCursor(m_transaction.get(), m_info.identifier(), range, direction.value()); > + auto info = IDBCursorInfo::objectStoreCursor(m_transaction.get(), m_info.identifier(), range.get(), direction.value(), IndexedDB::CursorType::KeyAndValue); I was confused by the implicit conversion from a IDBKeyRange* to a IDBKeyRangeData. Since IDBCursorInfo::objectStoreCursor() is always passed a IDBKeyRangeData temporary, maybe this range can be moved into its destination IDBCursorInfo? Not something you have to change here, but just a thought.
https://trac.webkit.org/changeset/207845