mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibWeb/IDB: Implement IDBCursor::advance
This commit is contained in:
Notes:
github-actions[bot]
2025-05-13 16:50:15 +00:00
Author: https://github.com/stelar7 Commit: https://github.com/LadybirdBrowser/ladybird/commit/6afa2c8eeec 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
@@ -45,6 +45,7 @@ public:
|
||||
[[nodiscard]] JS::Value primary_key() const;
|
||||
[[nodiscard]] GC::Ptr<IDBRequest> request() { return m_request; }
|
||||
|
||||
WebIDL::ExceptionOr<void> advance(WebIDL::UnsignedLong);
|
||||
WebIDL::ExceptionOr<void> continue_(JS::Value);
|
||||
|
||||
[[nodiscard]] JS::Value value() { return m_value.value_or(JS::js_undefined()); }
|
||||
|
||||
Reference in New Issue
Block a user