mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 02:27:19 +02:00
LibWeb/IDB: Implement IDBObjectStore::clear
This commit is contained in:
Notes:
github-actions[bot]
2025-05-08 13:14:20 +00:00
Author: https://github.com/stelar7 Commit: https://github.com/LadybirdBrowser/ladybird/commit/fa207c8fc6e Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4650 Reviewed-by: https://github.com/AtkinsSJ ✅
@@ -53,6 +53,7 @@ public:
|
||||
[[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);
|
||||
[[nodiscard]] WebIDL::ExceptionOr<GC::Ref<IDBRequest>> clear();
|
||||
|
||||
protected:
|
||||
explicit IDBObjectStore(JS::Realm&, GC::Ref<ObjectStore>, GC::Ref<IDBTransaction>);
|
||||
|
||||
Reference in New Issue
Block a user