- From: Joshua Bell <notifications@github.com>
- Date: Wed, 02 Aug 2023 15:00:44 -0700
- To: w3c/IndexedDB <IndexedDB@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 2 August 2023 22:00:49 UTC
@inexorabletash commented on this pull request.
> The {{IDBOpenDBRequest/upgradeneeded!!event}} event isn't fired, and thus the
[=/upgrade transaction=] isn't started, until all other
[=/connections=] to the same [=/database=] are closed. This ensures
that all previous transactions are [=transaction/finished=]. As long
- as an [=/upgrade transaction=] is running, attempts to open more
+ as an [=/upgrade transaction=] is [=transaction/live=], attempts to open more
[=/connections=] to the same [=/database=] are delayed, and any
attempts to use the same [=/connection=] to start additional
transactions by calling {{IDBDatabase/transaction()}} will throw an
exception. Thus [=/upgrade transactions=] not only ensure that no
Whee, this text basically goes back to 2012. At least it's non-normative now. :) I rephrased a bit, I think the new form is clearer? As it is non-normative, I think the whole sentence could easily be dropped. But presumably it was added to make something explicit to a reader at some point. WDYT?
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/IndexedDB/pull/409#discussion_r1282459005
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/IndexedDB/pull/409/review/1559903197@github.com>
Received on Wednesday, 2 August 2023 22:00:49 UTC