@@ -960,6 +960,11 @@ return <a>this</a>'s <a>cross-origin credentials</a>.
960
960
</ol>
961
961
</ol>
962
962
963
+ <p id=report-xhr-timing> To <dfn>report timing</dfn> for an {{XMLHttpRequest}} object <var> xhr</var> ,
964
+ <a href="https://github.com/whatwg/fetch/pull/1185">finalize and report timing</a> for
965
+ <var> xhr</var> 's <a for=XMLHttpRequest>response</a>, <var>xhr</var>' s <a>relevant global object</a>
966
+ and "xmlhttprequest".
967
+
963
968
<p id=handle-response-end-of-file> To <dfn>handle response end-of-body</dfn> for an
964
969
{{XMLHttpRequest}} object <var> xhr</var> , run these steps:
965
970
@@ -969,6 +974,8 @@ return <a>this</a>'s <a>cross-origin credentials</a>.
969
974
<li><p> If <var> xhr</var> 's <a for=XMLHttpRequest>response</a> is a <a>network error</a> , then
970
975
return.
971
976
977
+ <li><p> <a for=/>Report timing</a> for <var> xhr</var> .
978
+
972
979
<li><p> Let <var> transmitted</var> be <var> xhr</var> 's <a>received bytes</a>' s
973
980
<a for="byte sequence">length</a> .
974
981
@@ -1008,8 +1015,13 @@ return <a>this</a>'s <a>cross-origin credentials</a>.
1008
1015
<a event><code>abort</code></a> , and "{{AbortError!!exception}} " {{DOMException}} .
1009
1016
1010
1017
<li><p> Otherwise, if <var> xhr</var> 's <a for=XMLHttpRequest>response</a>' s is a
1011
- <a for=/>network error</a> , run the <a>request error steps</a> for <var> xhr</var> ,
1012
- <a event><code>error</code></a> , and "{{NetworkError!!exception}} " {{DOMException}} .
1018
+ <a for=/>network error</a> , then perform the following steps:
1019
+ <ol>
1020
+ <li><p> <a for=/>Report timing</a> for <var> xhr</var> .
1021
+
1022
+ <li><p> Run the <a>request error steps</a> for <var> xhr</var> ,
1023
+ <a event><code>error</code></a> , and "{{NetworkError!!exception}} " {{DOMException}} .
1024
+ </ol>
1013
1025
</ol>
1014
1026
1015
1027
<p> The <dfn>request error steps</dfn> for an {{XMLHttpRequest}} object <var> xhr</var> ,
0 commit comments