w3c / IndexedDB

Indexed Database API
https://w3c.github.io/IndexedDB/
Other
240 stars 62 forks source link

Disambiguate "running" for transactions #409

Closed inexorabletash closed 1 year ago

inexorabletash commented 1 year ago

The phrase "a transaction is running" was not normatively defined and confusing given the complex lifecycle of transactions. Introduce a new definition for "live" which covers from a transactions creation until it is finished.

Also, rename "running an upgrade transaction" since steps are often invoked with "run" and that could get awkward. Simplify to "upgrade a database".

No behavior changes, just normative terminology definitions.

Resolves #408. Thanks to @evanstade the issue and suggestions.

The following tasks have been completed:


Preview | Diff

inexorabletash commented 1 year ago

@evanstade could you take a look?