From a5597b99b0b9a611afc8fd8d8ebb0329b3324c19 Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Fri, 22 Sep 2023 10:46:21 +0200 Subject: [PATCH] Editorial: use HTML's encoding-parse a URL Closes #380. --- xhr.bs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/xhr.bs b/xhr.bs index 105ae72..ad0f95d 100644 --- a/xhr.bs +++ b/xhr.bs @@ -448,11 +448,9 @@ method steps are:
  • Normalize method. -

  • Let parsedURL be the result of parsing url with - this's relevant settings object's - API base URL and this's - relevant settings object's - API URL character encoding. +

  • Let parsedURL be the result of + encoding-parsing a URL url, relative to this's + relevant settings object.

  • If parsedURL is failure, then throw a "{{SyntaxError!!exception}}" {{DOMException}}. @@ -1333,7 +1331,7 @@ not be web compatible.

  • Set document's encoding to charset. -

  • Set document's content type to finalMIME. +

  • Set document's content type to finalMIME.

  • Set document's URL to xhr's response's URL.