mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-05 09:06:08 +00:00
LibWeb/IDB: Implement IDBCursor::delete
This commit is contained in:
parent
cf84a98bab
commit
9c51326fcb
Notes:
github-actions[bot]
2025-05-13 16:49:53 +00:00
Author: https://github.com/stelar7
Commit: 9c51326fcb
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4720
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/AtkinsSJ ✅
Reviewed-by: https://github.com/shannonbooth
3 changed files with 41 additions and 1 deletions
|
@ -50,6 +50,7 @@ public:
|
|||
WebIDL::ExceptionOr<void> continue_primary_key(JS::Value, JS::Value);
|
||||
|
||||
WebIDL::ExceptionOr<GC::Ref<IDBRequest>> update(JS::Value);
|
||||
WebIDL::ExceptionOr<GC::Ref<IDBRequest>> delete_();
|
||||
|
||||
[[nodiscard]] JS::Value value() { return m_value.value_or(JS::js_undefined()); }
|
||||
[[nodiscard]] GC::Ref<IDBKeyRange> range() { return m_range; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue