LibWeb/IDB: Implement iterate_a_cursor

This commit is contained in:
stelar7
2025-04-29 17:37:16 +02:00
committed by Jelle Raaijmakers
parent 93d7a29306
commit 98d08b27e4
Notes: github-actions[bot] 2025-05-06 09:18:19 +00:00
7 changed files with 391 additions and 1 deletions

View File

@@ -44,5 +44,6 @@ WebIDL::ExceptionOr<GC::Ptr<Key>> store_a_record_into_an_object_store(JS::Realm&
WebIDL::ExceptionOr<GC::Ref<IDBKeyRange>> convert_a_value_to_a_key_range(JS::Realm&, Optional<JS::Value>, bool = false);
JS::Value count_the_records_in_a_range(GC::Ref<ObjectStore>, GC::Ref<IDBKeyRange>);
WebIDL::ExceptionOr<JS::Value> retrieve_a_value_from_an_object_store(JS::Realm&, GC::Ref<ObjectStore>, GC::Ref<IDBKeyRange>);
GC::Ptr<IDBCursor> iterate_a_cursor(JS::Realm&, GC::Ref<IDBCursor>, GC::Ptr<Key> = nullptr, GC::Ptr<Key> = nullptr, u64 = 1);
}