LibWeb/IDB: Implement IDBObjectStore::delete

This commit is contained in:
stelar7 2025-05-08 09:59:13 +02:00 committed by Sam Atkins
commit aa35ced34f
Notes: github-actions[bot] 2025-05-08 13:14:32 +00:00
5 changed files with 40 additions and 3 deletions

View file

@ -52,6 +52,7 @@ public:
[[nodiscard]] WebIDL::ExceptionOr<GC::Ref<IDBRequest>> count(Optional<JS::Value>);
[[nodiscard]] WebIDL::ExceptionOr<GC::Ref<IDBRequest>> get(JS::Value);
[[nodiscard]] WebIDL::ExceptionOr<GC::Ref<IDBRequest>> open_cursor(JS::Value, Bindings::IDBCursorDirection = Bindings::IDBCursorDirection::Next);
[[nodiscard]] WebIDL::ExceptionOr<GC::Ref<IDBRequest>> delete_(JS::Value);
protected:
explicit IDBObjectStore(JS::Realm&, GC::Ref<ObjectStore>, GC::Ref<IDBTransaction>);