LibWeb/IDB: Implement store_a_record_into_an_object_store

This commit is contained in:
stelar7 2025-04-11 11:38:29 +02:00 committed by Andrew Kaster
commit fb17dae42b
Notes: github-actions[bot] 2025-04-23 18:37:08 +00:00
6 changed files with 147 additions and 0 deletions

View file

@ -40,5 +40,6 @@ ErrorOr<u64> generate_a_key(GC::Ref<ObjectStore>);
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);
}