LibWeb/IDB: Fix typo in diagnostic

This commit is contained in:
Nico Weber 2025-08-13 08:50:20 -04:00 committed by Sam Atkins
commit 7a01912af3
Notes: github-actions[bot] 2025-08-13 13:23:16 +00:00

View file

@ -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);