--- a/Overview.html Wed Dec 21 16:41:22 2011 +0100
+++ b/Overview.html Thu Dec 22 10:19:47 2011 +0100
@@ -40,7 +40,7 @@
<h1 class="head" id="xmlhttprequest-ls">XMLHttpRequest</h1>
- <h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 21 December 2011</h2>
+ <h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 22 December 2011</h2>
<dl>
<dt>This Version:</dt>
@@ -72,7 +72,7 @@
<p class="dontpublish 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>
To the extent possible under law, the editor has waived all copyright and
related or neighboring rights to this work. In addition, as of
-21 December 2011, the editor has made this specification available
+22 December 2011, the editor has made this specification available
under the
<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>,
which is available at
@@ -361,6 +361,15 @@
};
+enum <dfn id="xmlhttprequestresponsetype">XMLHttpRequestResponseType</dfn> {
+ "",
+ "arraybuffer",
+ "blob",
+ "document",
+ "json",
+ "text"
+}
+
[<a href="#dom-xmlhttprequest" title="dom-XMLHttpRequest">Constructor</a>]
interface <dfn id="xmlhttprequest">XMLHttpRequest</dfn> : <a href="#xmlhttprequesteventtarget">XMLHttpRequestEventTarget</a> {
// <a href="#event-handlers">event handler</a>
@@ -384,7 +393,7 @@
void <a href="#dom-xmlhttprequest-send" title="dom-XMLHttpRequest-send">send</a>(<a class="external" href="http://www.khronos.org/registry/typedarray/specs/latest/#5">ArrayBuffer</a> <var>data</var>);
void <a href="#dom-xmlhttprequest-send" title="dom-XMLHttpRequest-send">send</a>(<a class="external" href="http://dev.w3.org/2006/webapi/FileAPI/#blob">Blob</a> <var>data</var>);
void <a href="#dom-xmlhttprequest-send" title="dom-XMLHttpRequest-send">send</a>(<a class="external" href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#document">Document</a> <var>data</var>);
- void <a href="#dom-xmlhttprequest-send" title="dom-XMLHttpRequest-send">send</a>([AllowAny] DOMString? <var>data</var>);
+ void <a href="#dom-xmlhttprequest-send" title="dom-XMLHttpRequest-send">send</a>(DOMString? <var>data</var>);
void <a href="#dom-xmlhttprequest-send" title="dom-XMLHttpRequest-send">send</a>(<a href="#formdata">FormData</a> <var>data</var>);
void <a href="#dom-xmlhttprequest-abort" title="dom-XMLHttpRequest-abort">abort</a>();
@@ -394,7 +403,7 @@
DOMString <a href="#dom-xmlhttprequest-getresponseheader" title="dom-XMLHttpRequest-getResponseHeader">getResponseHeader</a>(DOMString <var>header</var>);
DOMString <a href="#dom-xmlhttprequest-getallresponseheaders" title="dom-XMLHttpRequest-getAllResponseHeaders">getAllResponseHeaders</a>();
void <a href="#dom-xmlhttprequest-overridemimetype" title="dom-XMLHttpRequest-overrideMimeType">overrideMimeType</a>(DOMString <var>mime</var>);
- attribute DOMString <a href="#dom-xmlhttprequest-responsetype" title="dom-XMLHttpRequest-responseType">responseType</a>;
+ attribute <a href="#xmlhttprequestresponsetype">XMLHttpRequestResponseType</a> <a href="#dom-xmlhttprequest-responsetype" title="dom-XMLHttpRequest-responseType">responseType</a>;
readonly attribute any <a href="#dom-xmlhttprequest-response" title="dom-XMLHttpRequest-response">response</a>;
readonly attribute DOMString <a href="#dom-xmlhttprequest-responsetext" title="dom-XMLHttpRequest-responseText">responseText</a>;
readonly attribute <a class="external" href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#document">Document</a> <a href="#dom-xmlhttprequest-responsexml" title="dom-XMLHttpRequest-responseXML">responseXML</a>;
@@ -2500,15 +2509,6 @@
"<code class="external"><a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#invalidaccesserror">InvalidAccessError</a></code>" exception and
terminate these steps.
- <li><p>If the given value is not
- the empty string,
- "<code title="">arraybuffer</code>",
- "<code title="">blob</code>",
- "<code title="">document</code>",
- "<code title="">json</code>", or
- "<code title="">text</code>"
- terminate these steps.</li>
-
<li><p>Set the
<code title="dom-XMLHttpRequest-responseType"><a href="#dom-xmlhttprequest-responsetype">responseType</a></code>
attribute's value to the given value.</li>
--- a/Overview.src.html Wed Dec 21 16:41:22 2011 +0100
+++ b/Overview.src.html Thu Dec 22 10:19:47 2011 +0100
@@ -369,6 +369,15 @@
};
+enum <dfn>XMLHttpRequestResponseType</dfn> {
+ "",
+ "arraybuffer",
+ "blob",
+ "document",
+ "json",
+ "text"
+}
+
[<span title="dom-XMLHttpRequest">Constructor</span>]
interface <dfn id="xmlhttprequest">XMLHttpRequest</dfn> : <span>XMLHttpRequestEventTarget</span> {
// <a href="#event-handlers">event handler</a>
@@ -392,7 +401,7 @@
void <span title="dom-XMLHttpRequest-send">send</span>(<span data-anolis-spec=typedarray>ArrayBuffer</span> <var>data</var>);
void <span title="dom-XMLHttpRequest-send">send</span>(<span data-anolis-spec=fileapi>Blob</span> <var>data</var>);
void <span title="dom-XMLHttpRequest-send">send</span>(<span data-anolis-spec=dom>Document</span> <var>data</var>);
- void <span title="dom-XMLHttpRequest-send">send</span>([AllowAny] DOMString? <var>data</var>);
+ void <span title="dom-XMLHttpRequest-send">send</span>(DOMString? <var>data</var>);
void <span title="dom-XMLHttpRequest-send">send</span>(<span>FormData</span> <var>data</var>);
void <span title="dom-XMLHttpRequest-abort">abort</span>();
@@ -402,7 +411,7 @@
DOMString <span title="dom-XMLHttpRequest-getResponseHeader">getResponseHeader</span>(DOMString <var>header</var>);
DOMString <span title="dom-XMLHttpRequest-getAllResponseHeaders">getAllResponseHeaders</span>();
void <span title="dom-XMLHttpRequest-overrideMimeType">overrideMimeType</span>(DOMString <var>mime</var>);
- attribute DOMString <span title="dom-XMLHttpRequest-responseType">responseType</span>;
+ attribute <span>XMLHttpRequestResponseType</span> <span title="dom-XMLHttpRequest-responseType">responseType</span>;
readonly attribute any <span title="dom-XMLHttpRequest-response">response</span>;
readonly attribute DOMString <span title="dom-XMLHttpRequest-responseText">responseText</span>;
readonly attribute <span data-anolis-spec=dom>Document</span> <span title="dom-XMLHttpRequest-responseXML">responseXML</span>;
@@ -2508,15 +2517,6 @@
"<code data-anolis-spec=dom>InvalidAccessError</code>" exception and
terminate these steps.
- <li><p>If the given value is not
- the empty string,
- "<code title>arraybuffer</code>",
- "<code title>blob</code>",
- "<code title>document</code>",
- "<code title>json</code>", or
- "<code title>text</code>"
- terminate these steps.</p></li>
-
<li><p>Set the
<code title="dom-XMLHttpRequest-responseType">responseType</code>
attribute's value to the given value.</p></li>