diff --git a/xhr.bs b/xhr.bs index 3de11f2..04516f1 100644 --- a/xhr.bs +++ b/xhr.bs @@ -781,6 +781,8 @@ return this's cross-origin credentials. otherwise "same-origin".
use-URL-credentials flag
Set if this's request URL includes credentials. +
initiator type +
"xmlhttprequest".
  • Unset this's upload complete flag. @@ -972,14 +974,13 @@ return this's cross-origin credentials.

  • If processedResponse is false, then set this's timed out flag and terminate this's fetch controller. +

  • Report timing for this's + fetch controller given the current global object. +

  • Run handle response end-of-body for this. -

    To report timing for an {{XMLHttpRequest}} object xhr, -finalize and report timing with xhr's response, -xhr's relevant global object, and "xmlhttprequest". -

    To handle response end-of-body for an {{XMLHttpRequest}} object xhr, run these steps: @@ -989,8 +990,6 @@ return this's cross-origin credentials.

  • If xhr's response is a network error, then return. -

  • Report timing for xhr. -

  • Let transmitted be xhr's received bytes's length. @@ -1029,16 +1028,9 @@ return this's cross-origin credentials. aborted flag is set, run the request error steps for xhr, abort, and "{{AbortError!!exception}}" {{DOMException}}. -

  • -

    Otherwise, if xhr's response is a - network error, then: - -

      -
    1. Report timing for xhr. - -

    2. Run the request error steps for xhr, - error, and "{{NetworkError!!exception}}" {{DOMException}}. -

    +
  • Otherwise, if xhr's response is a + network error, then run the request error steps for xhr, + error, and "{{NetworkError!!exception}}" {{DOMException}}.

    The request error steps for an {{XMLHttpRequest}} object xhr,