mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-12 02:59:45 +00:00
LibWeb/IDB: Implement IDBDatabase::transaction()
This commit is contained in:
parent
a05be67e4a
commit
61384473ca
Notes:
github-actions[bot]
2025-04-28 09:33:04 +00:00
Author: https://github.com/stelar7
Commit: 61384473ca
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4476
Reviewed-by: https://github.com/gmta ✅
5 changed files with 62 additions and 1 deletions
|
@ -52,6 +52,7 @@ public:
|
|||
void set_error(GC::Ptr<WebIDL::DOMException> error) { m_error = error; }
|
||||
void set_associated_request(GC::Ptr<IDBRequest> request) { m_associated_request = request; }
|
||||
void set_aborted(bool aborted) { m_aborted = aborted; }
|
||||
void set_cleanup_event_loop(GC::Ptr<HTML::EventLoop> event_loop) { m_cleanup_event_loop = event_loop; }
|
||||
void set_state(TransactionState state) { m_state = state; }
|
||||
|
||||
[[nodiscard]] bool is_upgrade_transaction() const { return m_mode == Bindings::IDBTransactionMode::Versionchange; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue