LibWeb/IDB: Implement IDBObjectStore::index

This commit is contained in:
stelar7 2025-04-01 18:43:29 +02:00 committed by Andrew Kaster
commit fce936e05a
Notes: github-actions[bot] 2025-04-09 17:50:32 +00:00
3 changed files with 26 additions and 1 deletions

View file

@ -41,6 +41,7 @@ public:
WebIDL::ExceptionOr<GC::Ref<IDBIndex>> create_index(String const&, KeyPath, IDBIndexParameters options);
[[nodiscard]] GC::Ref<HTML::DOMStringList> index_names();
WebIDL::ExceptionOr<GC::Ref<IDBIndex>> index(String const&);
protected:
explicit IDBObjectStore(JS::Realm&, GC::Ref<ObjectStore>, GC::Ref<IDBTransaction>);