mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-22 02:09:24 +00:00
LibWeb/IDB: Implement IDBTransaction::commit
This commit is contained in:
parent
b6b00acbd1
commit
da56c1b1eb
Notes:
github-actions[bot]
2025-04-11 01:14:15 +00:00
Author: https://github.com/stelar7
Commit: da56c1b1eb
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4306
Reviewed-by: https://github.com/ADKaster ✅
5 changed files with 77 additions and 1 deletions
|
@ -44,6 +44,7 @@ public:
|
|||
[[nodiscard]] GC::Ptr<IDBRequest> associated_request() const { return m_associated_request; }
|
||||
[[nodiscard]] bool aborted() const { return m_aborted; }
|
||||
[[nodiscard]] GC::Ref<HTML::DOMStringList> object_store_names();
|
||||
[[nodiscard]] RequestList& request_list() { return m_request_list; }
|
||||
[[nodiscard]] ReadonlySpan<GC::Ref<ObjectStore>> scope() const { return m_scope; }
|
||||
[[nodiscard]] String uuid() const { return m_uuid; }
|
||||
|
||||
|
@ -59,6 +60,7 @@ public:
|
|||
[[nodiscard]] bool is_finished() const { return m_state == TransactionState::Finished; }
|
||||
|
||||
WebIDL::ExceptionOr<void> abort();
|
||||
WebIDL::ExceptionOr<void> commit();
|
||||
|
||||
void set_onabort(WebIDL::CallbackType*);
|
||||
WebIDL::CallbackType* onabort();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue