Re: [w3c/IndexedDB] Allow null as transactions errors value (PR #460)

@SteveBeckerMSFT commented on this pull request.



> @@ -5144,8 +5148,7 @@ To <dfn>abort a transaction</dfn> with the |transaction| to abort, and |error|,
 
 1. Set |transaction|'s [=transaction/state=] to [=transaction/finished=].
 
-1. If |error| is not null, set |transaction|'s
-    [=transaction/error=] to |error|.
+1. Set |transaction|'s [=transaction/error=] to |error|.

Good ideas!  I like the second option that checks the transaction state.

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

Message ID: <w3c/IndexedDB/pull/460/review/3089903950@github.com>

Received on Tuesday, 5 August 2025 22:40:38 UTC