LibWeb/IDB: Implement IDBObjectStore::deleteIndex

This commit is contained in:
stelar7 2025-04-01 18:57:59 +02:00 committed by Andrew Kaster
commit 718c805e95
Notes: github-actions[bot] 2025-04-09 17:50:24 +00:00
3 changed files with 35 additions and 1 deletions

View file

@ -42,6 +42,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&);
WebIDL::ExceptionOr<void> delete_index(String const&);
protected:
explicit IDBObjectStore(JS::Realm&, GC::Ref<ObjectStore>, GC::Ref<IDBTransaction>);