LibWeb/IDB: Implement IDBObjectStore::keyPath

This commit is contained in:
stelar7 2025-03-24 20:50:52 +01:00 committed by Jelle Raaijmakers
commit 594ba28c35
Notes: github-actions[bot] 2025-03-27 15:49:32 +00:00
3 changed files with 22 additions and 1 deletions

View file

@ -23,6 +23,8 @@ public:
virtual ~IDBObjectStore() override;
[[nodiscard]] static GC::Ref<IDBObjectStore> create(JS::Realm&, GC::Ref<ObjectStore>, GC::Ref<IDBTransaction>);
JS::Value key_path() const;
protected:
explicit IDBObjectStore(JS::Realm&, GC::Ref<ObjectStore>, GC::Ref<IDBTransaction>);
virtual void initialize(JS::Realm&) override;