Skip to content

Commit fc26e77

Browse files
brettz9inexorabletash
authored andcommitted
abort() to set transaction state to inactive (#258)
This was introduced by #242 as part of a refactor which changed the wording from "Unset the transaction's active flag" to "Set the transaction's state to active". Oops! This corrects the refactor.
1 parent 5754190 commit fc26e77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎index.bs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5266,7 +5266,7 @@ must run these steps:
52665266
or [=transaction/finished=],
52675267
then [=throw=] an "{{InvalidStateError}}" {{DOMException}}.
52685268

5269-
1. Set the [=/transaction=]'s [=transaction/state=] to [=transaction/active=] and run the
5269+
1. Set the [=/transaction=]'s [=transaction/state=] to [=transaction/inactive=] and run the
52705270
steps to [=abort a transaction=] with null as |error|.
52715271

52725272
</div>

0 commit comments

Comments
 (0)