LibWeb/IDB: Implement IDBObjectStore::put

This commit is contained in:
stelar7 2025-04-11 11:42:19 +02:00 committed by Andrew Kaster
commit 5d48652890
Notes: github-actions[bot] 2025-04-23 18:36:49 +00:00
3 changed files with 9 additions and 1 deletions

View file

@ -46,6 +46,7 @@ public:
[[nodiscard]] WebIDL::ExceptionOr<GC::Ref<IDBRequest>> add_or_put(GC::Ref<IDBObjectStore>, JS::Value, Optional<JS::Value> const&, bool);
[[nodiscard]] WebIDL::ExceptionOr<GC::Ref<IDBRequest>> add(JS::Value value, Optional<JS::Value> const& key);
[[nodiscard]] WebIDL::ExceptionOr<GC::Ref<IDBRequest>> put(JS::Value value, Optional<JS::Value> const& key);
protected:
explicit IDBObjectStore(JS::Realm&, GC::Ref<ObjectStore>, GC::Ref<IDBTransaction>);