LibWeb/IDB: Implement IDBObjectStore::indexNames

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

View file

@ -40,6 +40,7 @@ public:
AK::HashMap<String, GC::Ref<Index>>& index_set() { return m_indexes; }
WebIDL::ExceptionOr<GC::Ref<IDBIndex>> create_index(String const&, KeyPath, IDBIndexParameters options);
[[nodiscard]] GC::Ref<HTML::DOMStringList> index_names();
protected:
explicit IDBObjectStore(JS::Realm&, GC::Ref<ObjectStore>, GC::Ref<IDBTransaction>);