@@ -285,12 +285,12 @@ constructor steps are:
285
285
<a>event listeners</a>
286
286
registered whose <b> type</b> is one of
287
287
{{XMLHttpRequest/readystatechange}} ,
288
- {{XMLHttpRequest /progress}} ,
289
- {{XMLHttpRequest /abort}} ,
290
- {{XMLHttpRequest /error}} ,
291
- {{XMLHttpRequest /load}} ,
292
- {{XMLHttpRequest /timeout!!event}} , and
293
- {{XMLHttpRequest /loadend}} .
288
+ {{XMLHttpRequestEventTarget /progress}} ,
289
+ {{XMLHttpRequestEventTarget /abort}} ,
290
+ {{XMLHttpRequestEventTarget /error}} ,
291
+ {{XMLHttpRequestEventTarget /load}} ,
292
+ {{XMLHttpRequestEventTarget /timeout!!event}} , and
293
+ {{XMLHttpRequestEventTarget /loadend}} .
294
294
<!-- No need to mention upload event listeners as they happen during /opened/. -->
295
295
296
296
<p> If an {{XMLHttpRequest}} object is garbage collected while its connection is still open, the user
@@ -314,25 +314,25 @@ from {{XMLHttpRequestEventTarget}} as attributes:
314
314
<tbody>
315
315
<tr>
316
316
<td> <dfn id=handler-xhr-onloadstart attribute for=XMLHttpRequestEventTarget><code>onloadstart</code></dfn>
317
- <td> {{XMLHttpRequest /loadstart}}
317
+ <td> {{XMLHttpRequestEventTarget /loadstart}}
318
318
<tr>
319
319
<td> <dfn id=handler-xhr-onprogress attribute for=XMLHttpRequestEventTarget><code>onprogress</code></dfn>
320
- <td> {{XMLHttpRequest /progress}}
320
+ <td> {{XMLHttpRequestEventTarget /progress}}
321
321
<tr>
322
322
<td> <dfn id=handler-xhr-onabort attribute for=XMLHttpRequestEventTarget><code>onabort</code></dfn>
323
- <td> {{XMLHttpRequest /abort}}
323
+ <td> {{XMLHttpRequestEventTarget /abort}}
324
324
<tr>
325
325
<td> <dfn id=handler-xhr-onerror attribute for=XMLHttpRequestEventTarget><code>onerror</code></dfn>
326
- <td> {{XMLHttpRequest /error}}
326
+ <td> {{XMLHttpRequestEventTarget /error}}
327
327
<tr>
328
328
<td> <dfn id=handler-xhr-onload attribute for=XMLHttpRequestEventTarget><code>onload</code></dfn>
329
- <td> {{XMLHttpRequest /load}}
329
+ <td> {{XMLHttpRequestEventTarget /load}}
330
330
<tr>
331
331
<td> <dfn id=handler-xhr-ontimeout attribute for=XMLHttpRequestEventTarget><code>ontimeout</code></dfn>
332
- <td> {{XMLHttpRequest /timeout!!event}}
332
+ <td> {{XMLHttpRequestEventTarget /timeout!!event}}
333
333
<tr>
334
334
<td> <dfn id=handler-xhr-onloadend attribute for=XMLHttpRequestEventTarget><code>onloadend</code></dfn>
335
- <td> {{XMLHttpRequest /loadend}}
335
+ <td> {{XMLHttpRequestEventTarget /loadend}}
336
336
</table>
337
337
338
338
<p> The following is the
@@ -1035,7 +1035,7 @@ return <a>this</a>'s <a>cross-origin credentials</a>.
1035
1035
1036
1036
<li><p> Otherwise, if <var> xhr</var> 's <a for=XMLHttpRequest>response</a> is a
1037
1037
<a for=/>network error</a> , then run the <a>request error steps</a> for <var> xhr</var> ,
1038
- {{XMLHttpRequest /error}} , and "{{NetworkError!!exception}} " {{DOMException}} .
1038
+ {{XMLHttpRequestEventTarget /error}} , and "{{NetworkError!!exception}} " {{DOMException}} .
1039
1039
</ol>
1040
1040
1041
1041
<p> The <dfn>request error steps</dfn> for an {{XMLHttpRequest}} object <var> xhr</var> ,
@@ -1576,32 +1576,32 @@ steps are:
1576
1576
<td> The {{XMLHttpRequest/readyState}} attribute changes
1577
1577
value, except when it changes to <a const for=XMLHttpRequest>UNSENT</a> .
1578
1578
<tr>
1579
- <td> <dfn id=event-xhr-loadstart event for=XMLHttpRequest ><code>loadstart</code></dfn>
1579
+ <td> <dfn id=event-xhr-loadstart event for=XMLHttpRequestEventTarget ><code>loadstart</code></dfn>
1580
1580
<td> {{ProgressEvent}}
1581
1581
<td> The fetch initiates.
1582
1582
<tr>
1583
- <td> <dfn id=event-xhr-progress event for=XMLHttpRequest ><code>progress</code></dfn>
1583
+ <td> <dfn id=event-xhr-progress event for=XMLHttpRequestEventTarget ><code>progress</code></dfn>
1584
1584
<td> {{ProgressEvent}}
1585
1585
<td> Transmitting data.
1586
1586
<tr>
1587
- <td> <dfn id=event-xhr-abort event for=XMLHttpRequest ><code>abort</code></dfn>
1587
+ <td> <dfn id=event-xhr-abort event for=XMLHttpRequestEventTarget ><code>abort</code></dfn>
1588
1588
<td> {{ProgressEvent}}
1589
1589
<td> When the fetch has been aborted. For instance, by invoking the
1590
1590
{{XMLHttpRequest/abort()}} method.
1591
1591
<tr>
1592
- <td> <dfn id=event-xhr-error event for=XMLHttpRequest ><code>error</code></dfn>
1592
+ <td> <dfn id=event-xhr-error event for=XMLHttpRequestEventTarget ><code>error</code></dfn>
1593
1593
<td> {{ProgressEvent}}
1594
1594
<td> The fetch failed.
1595
1595
<tr>
1596
- <td> <dfn id=event-xhr-load event for=XMLHttpRequest ><code>load</code></dfn>
1596
+ <td> <dfn id=event-xhr-load event for=XMLHttpRequestEventTarget ><code>load</code></dfn>
1597
1597
<td> {{ProgressEvent}}
1598
1598
<td> The fetch succeeded.
1599
1599
<tr>
1600
- <td> <dfn id=event-xhr-timeout event for=XMLHttpRequest ><code>timeout</code></dfn>
1600
+ <td> <dfn id=event-xhr-timeout event for=XMLHttpRequestEventTarget ><code>timeout</code></dfn>
1601
1601
<td> {{ProgressEvent}}
1602
1602
<td> The author specified timeout has passed before the fetch completed.
1603
1603
<tr>
1604
- <td> <dfn id=event-xhr-loadend event for=XMLHttpRequest ><code>loadend</code></dfn>
1604
+ <td> <dfn id=event-xhr-loadend event for=XMLHttpRequestEventTarget ><code>loadend</code></dfn>
1605
1605
<td> {{ProgressEvent}}
1606
1606
<td> The fetch completed (success or failure).
1607
1607
</table>
0 commit comments