mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWeb/IDB: Fix typo in diagnostic
This commit is contained in:
Notes:
github-actions[bot]
2025-08-13 13:23:16 +00:00
Author: https://github.com/nico Commit: https://github.com/LadybirdBrowser/ladybird/commit/7a01912af38 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5843 Reviewed-by: https://github.com/AtkinsSJ ✅ Reviewed-by: https://github.com/gmta ✅
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user