From 5d94119f4c68c6e0d4515bb0da0165b7427efb7e Mon Sep 17 00:00:00 2001 From: Kenneth Myhra Date: Thu, 21 Aug 2025 18:48:02 +0200 Subject: [PATCH] LibWeb/XHR: Add missing spec comment for step 12 in XHR::send() --- Libraries/LibWeb/XHR/XMLHttpRequest.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Libraries/LibWeb/XHR/XMLHttpRequest.cpp b/Libraries/LibWeb/XHR/XMLHttpRequest.cpp index 08ca8345f91..7b98cdca6de 100644 --- a/Libraries/LibWeb/XHR/XMLHttpRequest.cpp +++ b/Libraries/LibWeb/XHR/XMLHttpRequest.cpp @@ -883,7 +883,9 @@ WebIDL::ExceptionOr XMLHttpRequest::send(Optionalstart(); } - } else { + } + // 12. Otherwise, if this’s synchronous flag is set: + else { // 1. Let processedResponse be false. IGNORE_USE_IN_ESCAPING_LAMBDA bool processed_response = false;