


























@@ -283,13 +283,13 @@ constructor steps are:
283283<i>headers received</i>, or <i>loading</i>, and it has one or more
284284<a>event listeners</a>
285285registered whose <b>type</b> is one of
286-<a event><code>readystatechange</code></a>,
287-<a event><code>progress</code></a>,
288-<a event><code>abort</code></a>,
289-<a event><code>error</code></a>,
290-<a event><code>load</code></a>,
291-<a event><code>timeout</code></a>, and
292-<a event><code>loadend</code></a>.
286+{{XMLHttpRequest/readystatechange}},
287+{{XMLHttpRequest/progress}},
288+{{XMLHttpRequest/abort}},
289+{{XMLHttpRequest/error}},
290+{{XMLHttpRequest/load}},
291+{{XMLHttpRequest/timeout!!event}}, and
292+{{XMLHttpRequest/loadend}}.
293293<!-- No need to mention upload event listeners as they happen during /opened/. -->
294294295295<p>If an {{XMLHttpRequest}} object is garbage collected while its connection is still open, the user
@@ -313,25 +313,25 @@ from {{XMLHttpRequestEventTarget}} as attributes:
313313<tbody>
314314<tr>
315315<td><dfn id=handler-xhr-onloadstart attribute for=XMLHttpRequestEventTarget><code>onloadstart</code></dfn>
316-<td><a event><code>loadstart</code></a>
316+<td>{{XMLHttpRequest/loadstart}}
317317<tr>
318318<td><dfn id=handler-xhr-onprogress attribute for=XMLHttpRequestEventTarget><code>onprogress</code></dfn>
319-<td><a event><code>progress</code></a>
319+<td>{{XMLHttpRequest/progress}}
320320<tr>
321321<td><dfn id=handler-xhr-onabort attribute for=XMLHttpRequestEventTarget><code>onabort</code></dfn>
322-<td><a event><code>abort</code></a>
322+<td>{{XMLHttpRequest/abort}}
323323<tr>
324324<td><dfn id=handler-xhr-onerror attribute for=XMLHttpRequestEventTarget><code>onerror</code></dfn>
325-<td><a event><code>error</code></a>
325+<td>{{XMLHttpRequest/error}}
326326<tr>
327327<td><dfn id=handler-xhr-onload attribute for=XMLHttpRequestEventTarget><code>onload</code></dfn>
328-<td><a event><code>load</code></a>
328+<td>{{XMLHttpRequest/load}}
329329<tr>
330330<td><dfn id=handler-xhr-ontimeout attribute for=XMLHttpRequestEventTarget><code>ontimeout</code></dfn>
331-<td><a event><code>timeout</code></a>
331+<td>{{XMLHttpRequest/timeout!!event}}
332332<tr>
333333<td><dfn id=handler-xhr-onloadend attribute for=XMLHttpRequestEventTarget><code>onloadend</code></dfn>
334-<td><a event><code>loadend</code></a>
334+<td>{{XMLHttpRequest/loadend}}
335335</table>
336336337337<p>The following is the
@@ -1029,11 +1029,12 @@ return <a>this</a>'s <a>cross-origin credentials</a>.
1029102910301030<li><p>Otherwise, if <var>xhr</var>'s <a for=XMLHttpRequest>response</a>'s
10311031<a for=response>aborted flag</a> is set, run the <a>request error steps</a> for <var>xhr</var>,
1032-<a event><code>abort</code></a>, and "{{AbortError!!exception}}" {{DOMException}}.
1032+<a event for=XMLHttpRequest><code>abort</code></a>, and "{{AbortError!!exception}}"
1033+{{DOMException}}.
1033103410341035<li><p>Otherwise, if <var>xhr</var>'s <a for=XMLHttpRequest>response</a> is a
10351036<a for=/>network error</a>, then run the <a>request error steps</a> for <var>xhr</var>,
1036-<a event><code>error</code></a>, and "{{NetworkError!!exception}}" {{DOMException}}.
1037+{{XMLHttpRequest/error}}, and "{{NetworkError!!exception}}" {{DOMException}}.
10371038</ol>
1038103910391040<p>The <dfn>request error steps</dfn> for an {{XMLHttpRequest}} object <var>xhr</var>,
@@ -1093,7 +1094,7 @@ return <a>this</a>'s <a>cross-origin credentials</a>.
1093109410941095<li><p>If <a>this</a>'s <a>state</a> is <i>opened</i> with <a>this</a>'s
10951096<a><code>send()</code> flag</a> set, <i>headers received</i>, or <i>loading</i>, then run the
1096-<a>request error steps</a> for <a>this</a> and <a event><code>abort</code></a>.
1097+<a>request error steps</a> for <a>this</a> and <a event for=XMLHttpRequest><code>abort</code></a>.
1097109810981099<li>
10991100<p>If <a>this</a>'s <a>state</a> is <i>done</i>, then set <a>this</a>'s <a>state</a> to
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。