These steps are run as needed by the steps to , which revert changes to the database including the set of associated and indexes, as well as the change to the .
Let connection be transaction’s connection.
Let database be connection’s .
-
This reverts the value of returned by the
[IDBDatabase](#idbdatabase)
object. -
If handle’s object store was not newly created during transaction, set handle’s to its object store‘s .
Set handle’s index set to the set of that reference its object store.
This reverts the value of `[name](#dom-idbindex-name)` returned by related `[IDBIndex](#idbindex)` objects.