LibWeb/IDB: Implement IDBObjectStore::getAll

This commit is contained in:
stelar7 2025-05-08 23:36:31 +02:00 committed by Shannon Booth
commit c700bfaaf1
Notes: github-actions[bot] 2025-05-12 20:29:30 +00:00
3 changed files with 33 additions and 1 deletions

View file

@ -55,6 +55,7 @@ public:
[[nodiscard]] WebIDL::ExceptionOr<GC::Ref<IDBRequest>> delete_(JS::Value);
[[nodiscard]] WebIDL::ExceptionOr<GC::Ref<IDBRequest>> clear();
[[nodiscard]] WebIDL::ExceptionOr<GC::Ref<IDBRequest>> get_key(JS::Value);
[[nodiscard]] WebIDL::ExceptionOr<GC::Ref<IDBRequest>> get_all(Optional<JS::Value>, Optional<WebIDL::UnsignedLong>);
protected:
explicit IDBObjectStore(JS::Realm&, GC::Ref<ObjectStore>, GC::Ref<IDBTransaction>);