mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
LibWeb/IDB: Implement abort and wait steps for closing a connection
This commit is contained in:
parent
fc93ec135e
commit
b6b00acbd1
Notes:
github-actions[bot]
2025-04-11 01:14:22 +00:00
Author: https://github.com/stelar7
Commit: b6b00acbd1
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4306
Reviewed-by: https://github.com/ADKaster ✅
2 changed files with 29 additions and 3 deletions
|
@ -56,6 +56,7 @@ public:
|
|||
[[nodiscard]] bool is_upgrade_transaction() const { return m_mode == Bindings::IDBTransactionMode::Versionchange; }
|
||||
[[nodiscard]] bool is_readonly() const { return m_mode == Bindings::IDBTransactionMode::Readonly; }
|
||||
[[nodiscard]] bool is_readwrite() const { return m_mode == Bindings::IDBTransactionMode::Readwrite; }
|
||||
[[nodiscard]] bool is_finished() const { return m_state == TransactionState::Finished; }
|
||||
|
||||
WebIDL::ExceptionOr<void> abort();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue