From b6eee7dddbbe5bacaf00a1168249234d48b403d6 Mon Sep 17 00:00:00 2001 From: stelar7 Date: Wed, 13 Aug 2025 15:22:00 +0200 Subject: [PATCH] Specify that the requests error should go back to the unset state While running `asynchronously execute a request`, `request`'s `error` is set to `undefined`. For most people this would mean the JS value `undefined`, but in this case, its supposed to go back to the unset state. --- index.bs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.bs b/index.bs index 0528cc5..9733bd4 100644 --- a/index.bs +++ b/index.bs @@ -5332,7 +5332,7 @@ created [=/request=] belongs to is [=transaction/aborted=] using the steps to 1. Otherwise: 1. Set |request|'s [=request/result=] to |result|. - 1. Set |request|'s [=request/error=] to undefined. + 1. Unset |request|'s [=request/error=]. 1. [=Fire a success event=] at |request|. 1. Return |request|.