LibWeb/IDB: Implement IDBObjectStore::open_cursor

This commit is contained in:
stelar7 2025-04-29 17:37:40 +02:00 committed by Jelle Raaijmakers
commit 05fe37619a
Notes: github-actions[bot] 2025-05-06 09:18:12 +00:00
3 changed files with 44 additions and 1 deletions

View file

@ -19,7 +19,7 @@ interface IDBObjectStore {
[FIXME, NewObject] IDBRequest getAll(optional any query, optional [EnforceRange] unsigned long count);
[FIXME, NewObject] IDBRequest getAllKeys(optional any query, optional [EnforceRange] unsigned long count);
[NewObject] IDBRequest count(optional any query);
[FIXME, NewObject] IDBRequest openCursor(optional any query, optional IDBCursorDirection direction = "next");
[NewObject] IDBRequest openCursor(optional any query, optional IDBCursorDirection direction = "next");
[FIXME, NewObject] IDBRequest openKeyCursor(optional any query, optional IDBCursorDirection direction = "next");
IDBIndex index(DOMString name);
[NewObject] IDBIndex createIndex(DOMString name, (DOMString or sequence<DOMString>) keyPath, optional IDBIndexParameters options = {});