LibWeb/IDB: Implement convert_a_value_to_a_key_range

This commit is contained in:
stelar7 2025-04-28 15:49:38 +02:00 committed by Jelle Raaijmakers
commit 64d251b36c
Notes: github-actions[bot] 2025-04-29 15:08:06 +00:00
2 changed files with 28 additions and 0 deletions

View file

@ -41,5 +41,6 @@ void possibly_update_the_key_generator(GC::Ref<ObjectStore>, GC::Ref<Key>);
void inject_a_key_into_a_value_using_a_key_path(JS::Realm&, JS::Value, GC::Ref<Key>, KeyPath const&);
void delete_records_from_an_object_store(GC::Ref<ObjectStore>, GC::Ref<IDBKeyRange>);
WebIDL::ExceptionOr<GC::Ptr<Key>> store_a_record_into_an_object_store(JS::Realm&, GC::Ref<ObjectStore>, JS::Value, GC::Ptr<Key>, bool);
WebIDL::ExceptionOr<GC::Ref<IDBKeyRange>> convert_a_value_to_a_key_range(JS::Realm&, Optional<JS::Value>, bool = false);
}