[w3c/IndexedDB] Add IDBTransaction commit() method (#242)

Per discussion in https://github.com/w3c/IndexedDB/issues/234 - add an explicit `commit()` method to IDBTransaction.

* Reify an internal "state" for transaction (active, inactive, committing, finished) replacing the active flag.
* Make transaction life-cycle somewhat more rigorous.
* Add "processed" state to request, distinct from "done" (when the result has been delivered).
* Firm up the notion of a transaction's request list w/r/t processing state of requests.
* Firm up commit/abort steps w/r/t processing state of requests.
* Add commit() method itself.

You can view, comment on, or merge this pull request online at:

  https://github.com/w3c/IndexedDB/pull/242

-- Commit Summary --

  * wip
  * Add processed flag, fix request list handling

-- File Changes --

    M index.bs (502)

-- Patch Links --

https://github.com/w3c/IndexedDB/pull/242.patch
https://github.com/w3c/IndexedDB/pull/242.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/IndexedDB/pull/242

Received on Monday, 18 June 2018 21:22:52 UTC