- From: stelar7 <notifications@github.com>
- Date: Wed, 09 Apr 2025 15:23:41 -0700
- To: w3c/IndexedDB <IndexedDB@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 9 April 2025 22:23:45 UTC
stelar7 left a comment (w3c/IndexedDB#436) @inexorabletash Another question here: 10.5 can set the state to finished (by aborting) as in the example below. step 10.6 then sets it back to Inactive. At this point, we havent thrown, so 10.7 does nothing. Since the transaction has been aborted, it is not possible to auto-commit it any more. Are we now stuck in an infinite loop at step 11? Is step 10.6 and 10.7 only supposed to run if we are not put into the finished state by the event? ``` async_test(function (t) { let rq = indexedDB.open(); rq.onupgradeneeded = t.step_func(function () { rq.transaction.abort(); }); rq.onerror = t.step_func(function () { t.done() }); } ``` -- Reply to this email directly or view it on GitHub: https://github.com/w3c/IndexedDB/issues/436#issuecomment-2791113467 You are receiving this because you are subscribed to this thread. Message ID: <w3c/IndexedDB/issues/436/2791113467@github.com>
Received on Wednesday, 9 April 2025 22:23:45 UTC