mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-23 16:40:03 +00:00
LibWeb/IDB: Fix typo in diagnostic
This commit is contained in:
parent
d489e46448
commit
7a01912af3
Notes:
github-actions[bot]
2025-08-13 13:23:16 +00:00
Author: https://github.com/nico
Commit: 7a01912af3
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5843
Reviewed-by: https://github.com/AtkinsSJ ✅
Reviewed-by: https://github.com/gmta ✅
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ WebIDL::ExceptionOr<void> IDBTransaction::commit()
|
|||
|
||||
// 1. If this's state is not active, then throw an "InvalidStateError" DOMException.
|
||||
if (m_state != TransactionState::Active)
|
||||
return WebIDL::InvalidStateError::create(realm, "Transaction is not active while commiting"_string);
|
||||
return WebIDL::InvalidStateError::create(realm, "Transaction is not active while committing"_string);
|
||||
|
||||
// 2. Run commit a transaction with this.
|
||||
commit_a_transaction(realm, *this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue