77
88< p > < a class ="logo " href ="//www.whatwg.org/ "> < img alt ="WHATWG " height ="100 " src ="//resources.whatwg.org/logo-xhr.svg " width ="100 "> </ a >
99< h1 class ="head " id ="xmlhttprequest-ls "> XMLHttpRequest</ h1 >
10- < h2 class ="no-num no-toc " id ="living-standard-—-last-updated-15 -november-2013 "> Living Standard — Last Updated 15 November 2013</ h2 >
10+ < h2 class ="no-num no-toc " id ="living-standard-—-last-updated-18 -november-2013 "> Living Standard — Last Updated 18 November 2013</ h2 >
1111
1212< dl >
1313 < dt > This Version:
@@ -36,7 +36,7 @@ <h2 class="no-num no-toc" id="living-standard-—-last-updated-15-november-2013"
3636< p class ="copyright "> < a href ="http://creativecommons.org/publicdomain/zero/1.0/ " rel ="license "> < img alt ="CC0 " src ="http://i.creativecommons.org/p/zero/1.0/80x15.png "> </ a >
3737To the extent possible under law, the editor has waived all copyright and
3838related or neighboring rights to this work. In addition, as of
39- 15 November 2013, the editor has made this specification available
39+ 18 November 2013, the editor has made this specification available
4040under the
4141< a href ="http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0 " rel ="license "> Open Web Foundation Agreement Version 1.0</ a > ,
4242which is available at
@@ -490,8 +490,6 @@ <h3 id="request"><span class="secno">4.5 </span>Request</h3>
490490< dfn id ="request-url "> request URL</ dfn > ,
491491< dfn id ="author-request-headers "> author request headers</ dfn > ,
492492< dfn id ="request-entity-body "> request entity body</ dfn > ,
493- < dfn id ="source-origin "> source origin</ dfn > ,
494- < dfn id ="referrer-source "> referrer source</ dfn > ,
495493< dfn id ="synchronous-flag "> synchronous flag</ dfn > ,
496494< dfn id ="upload-complete-flag "> upload complete flag</ dfn > , and
497495< dfn id ="upload-events-flag "> upload events flag</ dfn > .
@@ -558,13 +556,6 @@ <h4 id="the-open()-method"><span class="secno">4.5.1 </span>The <code title="">o
558556 < a href ="#concept-xmlhttprequest-settings-object " title ="concept-XMLHttpRequest-settings-object "> settings object</ a > 's
559557 < a class ="external " href ="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#api-base-url "> API base URL</ a > .
560558
561- < li > < p > Set < a href ="#source-origin "> source origin</ a > to
562- < a href ="#concept-xmlhttprequest-settings-object " title ="concept-XMLHttpRequest-settings-object "> settings object</ a > 's
563- < a class ="external " href ="http://www.whatwg.org/specs/web-apps/current-work/multipage/origin-0.html#origin "> origin</ a > .
564-
565- < li > < p > Set < a href ="#referrer-source "> referrer source</ a > to the
566- < a class ="external " href ="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#api-referrer-source "> API referrer source</ a > .
567-
568559 < li > < p > If < var > method</ var > does not match the < a class ="external " href ="http://tools.ietf.org/html/rfc2616/#section-5.1.1 "> Method</ a >
569560 token production, < a class ="external " href ="http://dom.spec.whatwg.org/#concept-throw " title ="concept-throw "> throw</ a > a
570561 "< code class ="external "> < a href ="http://dom.spec.whatwg.org/#syntaxerror "> SyntaxError</ a > </ code > " exception.
@@ -1060,11 +1051,19 @@ <h4 id="the-send()-method"><span class="secno">4.5.6 </span>The <code title="">s
10601051 < dt > < a class ="external " href ="http://fetch.spec.whatwg.org/#concept-request-author-headers " title ="concept-request-author-headers "> author headers</ a >
10611052 < dd > < a href ="#author-request-headers "> author request headers</ a >
10621053 < dt > < a class ="external " href ="http://fetch.spec.whatwg.org/#concept-request-origin " title ="concept-request-origin "> origin</ a >
1063- < dd > < a href ="#source-origin "> source origin</ a >
1054+ < dd > < a href ="#concept-xmlhttprequest-settings-object " title ="concept-XMLHttpRequest-settings-object "> settings object</ a > 's
1055+ < a class ="external " href ="http://www.whatwg.org/specs/web-apps/current-work/multipage/origin-0.html#origin "> origin</ a >
10641056 < dt > < a class ="external " href ="http://fetch.spec.whatwg.org/#force-origin-header-flag "> force < code title =""> Origin</ code > header flag</ a >
10651057 < dd > Set.
10661058 < dt > < a class ="external " href ="http://fetch.spec.whatwg.org/#concept-request-referrer " title ="concept-request-referrer "> referrer</ a >
1067- < dd > < a class ="XXX " href ="#referrer-source "> referrer source</ a >
1059+ < dd > < a href ="#concept-xmlhttprequest-settings-object " title ="concept-XMLHttpRequest-settings-object "> settings object</ a > 's
1060+ < a class ="external " href ="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#api-referrer-source "> API referrer source</ a > 's
1061+ < a class ="external " href ="http://dom.spec.whatwg.org/#concept-document-url " title ="concept-document-url "> URL</ a > if
1062+ < a href ="#concept-xmlhttprequest-settings-object " title ="concept-XMLHttpRequest-settings-object "> settings object</ a > 's
1063+ < a class ="external " href ="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#api-referrer-source "> API referrer source</ a > is a
1064+ < a class ="external " href ="http://dom.spec.whatwg.org/#concept-document " title ="concept-document "> document</ a > , and
1065+ < a href ="#concept-xmlhttprequest-settings-object " title ="concept-XMLHttpRequest-settings-object "> settings object</ a > 's
1066+ < a class ="external " href ="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#api-referrer-source "> API referrer source</ a > otherwise
10681067 < dt > < a class ="external " href ="http://fetch.spec.whatwg.org/#concept-request-body " title ="concept-request-body "> body</ a >
10691068 < dd > < a href ="#request-entity-body "> request entity body</ a >
10701069 < dt > < a data-anolis-spec ="fetch " href ="#synchronous-flag "> synchronous flag</ a >
@@ -1486,7 +1485,7 @@ <h4 id="response-entity-body-0"><span class="secno">4.6.5 </span>Response entity
14861485< dfn id ="blob-response-entity-body "> blob response entity body</ dfn > is either a
14871486< code class ="external "> < a href ="http://dev.w3.org/2006/webapi/FileAPI/#blob "> Blob</ a > </ code > representing the
14881487< a href ="#response-entity-body "> response entity body</ a > or null. If the < a href ="#blob-response-entity-body "> blob response entity body</ a >
1489- is null, let it be the return value of the following algorithm:
1488+ is null, set it to the return value of the following algorithm:
14901489
14911490< ol >
14921491 < li > < p > If the < a href ="#response-entity-body "> response entity body</ a > is null, return an empty
@@ -1502,7 +1501,7 @@ <h4 id="response-entity-body-0"><span class="secno">4.6.5 </span>Response entity
15021501< dfn id ="document-response-entity-body "> document response entity body</ dfn >
15031502is either a < a class ="external " href ="http://dom.spec.whatwg.org/#concept-document " title ="concept-document "> document</ a >
15041503representing the < a href ="#response-entity-body "> response entity body</ a > or null. If the
1505- < a href ="#document-response-entity-body "> document response entity body</ a > is null, let it be the return value of the
1504+ < a href ="#document-response-entity-body "> document response entity body</ a > is null, set it to the return value of the
15061505following algorithm:
15071506
15081507< ol >
@@ -1584,15 +1583,16 @@ <h4 id="response-entity-body-0"><span class="secno">4.6.5 </span>Response entity
15841583 < a href ="#request-url "> request URL</ a > .
15851584
15861585 < li > < p > Set < var title =""> document</ var > 's < a class ="external " href ="http://www.whatwg.org/specs/web-apps/current-work/multipage/origin-0.html#origin "> origin</ a > to
1587- < a href ="#source-origin "> source origin</ a > .
1586+ < a href ="#concept-xmlhttprequest-settings-object " title ="concept-XMLHttpRequest-settings-object "> settings object</ a > 's
1587+ < a class ="external " href ="http://www.whatwg.org/specs/web-apps/current-work/multipage/origin-0.html#origin "> origin</ a > .
15881588
15891589 < li > < p > Return < var title =""> document</ var > .
15901590</ ol >
15911591
15921592< p > The < dfn id ="json-response-entity-body "> JSON response entity body</ dfn > is either a JavaScript value
15931593representing the < a href ="#response-entity-body "> response entity body</ a > . If the
1594- < a href ="#json-response-entity-body "> JSON response entity body</ a > is null, let it be return value of the following
1595- algorithm:
1594+ < a href ="#json-response-entity-body "> JSON response entity body</ a > is null, set it to the return value of the
1595+ following algorithm:
15961596
15971597< ol >
15981598 < li > < p > If the < a href ="#response-entity-body "> response entity body</ a > is null, return null.
@@ -1610,7 +1610,7 @@ <h4 id="response-entity-body-0"><span class="secno">4.6.5 </span>Response entity
16101610
16111611< p > The < dfn id ="text-response-entity-body "> text response entity body</ dfn > is either a
16121612string representing the < a href ="#response-entity-body "> response entity body</ a > or null. If the
1613- < a href ="#text-response-entity-body "> text response entity body</ a > is null, let it be the return value of the
1613+ < a href ="#text-response-entity-body "> text response entity body</ a > is null, set it to the return value of the
16141614following algorithm:
16151615
16161616< ol >
0 commit comments