Re: [w3c/IndexedDB] How a transaction is implemented as a queue hang (#291)

The transaction processing model is somewhat underspecified (and has been the case since the initial IDB spec); the relevant text is in https://w3c.github.io/IndexedDB/#transaction-scheduling and https://w3c.github.io/IndexedDB/#transaction-lifecycle which rather informally defines the preconditions for a transaction to start.

Ideally, the spec would define transaction scheduling e.g. as a [parallel queue](https://html.spec.whatwg.org/multipage/infrastructure.html#parallelism). The steps are not run synchronously with any agent's (document's/worker's) event queue.

PRs that firm up transaction behavior here would be welcome.


-- 
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/issues/291#issuecomment-539165931

Received on Monday, 7 October 2019 19:25:54 UTC