Merge WHATWG change: Use [EnsureUTF16].
--- a/Overview.html Wed Oct 23 10:51:27 2013 +0900
+++ b/Overview.html Wed Oct 23 11:07:00 2013 +0900
@@ -468,12 +468,12 @@
readonly attribute unsigned short <a href="#dom-xmlhttprequest-readystate" title="dom-XMLHttpRequest-readyState">readyState</a>;
// <a href="#request">request</a>
- void <a href="#dom-xmlhttprequest-open" title="dom-XMLHttpRequest-open">open</a>(ByteString <var>method</var>, DOMString <var title="">url</var>, optional boolean <var>async</var> = true, optional DOMString? <var>username</var> = null, optional DOMString? <var>password</var> = null);
+ void <a href="#dom-xmlhttprequest-open" title="dom-XMLHttpRequest-open">open</a>(ByteString <var>method</var>, [EnsureUTF16] DOMString <var title="">url</var>, optional boolean <var>async</var> = true, optional [EnsureUTF16] DOMString? <var>username</var> = null, optional [EnsureUTF16] DOMString? <var>password</var> = null);
void <a href="#dom-xmlhttprequest-setrequestheader" title="dom-XMLHttpRequest-setRequestHeader">setRequestHeader</a>(ByteString <var>header</var>, ByteString <var>value</var>);
attribute unsigned long <a href="#dom-xmlhttprequest-timeout" title="dom-XMLHttpRequest-timeout">timeout</a>;
attribute boolean <a href="#dom-xmlhttprequest-withcredentials" title="dom-XMLHttpRequest-withCredentials">withCredentials</a>;
readonly attribute <a href="#xmlhttprequestupload">XMLHttpRequestUpload</a> <a href="#dom-xmlhttprequest-upload" title="dom-XMLHttpRequest-upload">upload</a>;
- void <a href="#dom-xmlhttprequest-send" title="dom-XMLHttpRequest-send">send</a>(optional (<a class="external" href="http://www.khronos.org/registry/typedarray/specs/latest/#ARRAYBUFFERVIEW">ArrayBufferView</a> or <a class="external" href="http://dev.w3.org/2006/webapi/FileAPI/#blob">Blob</a> or <a class="external" href="http://dev.w3.org/2006/webapi/DOM4Core/#document">Document</a> or DOMString or <a href="#formdata">FormData</a>)? <var>data</var> = null);
+ void <a href="#dom-xmlhttprequest-send" title="dom-XMLHttpRequest-send">send</a>(optional (<a class="external" href="http://www.khronos.org/registry/typedarray/specs/latest/#ARRAYBUFFERVIEW">ArrayBufferView</a> or <a class="external" href="http://dev.w3.org/2006/webapi/FileAPI/#blob">Blob</a> or <a class="external" href="http://dev.w3.org/2006/webapi/DOM4Core/#document">Document</a> or [EnsureUTF16] DOMString or <a href="#formdata">FormData</a>)? <var>data</var> = null);
void <a href="#dom-xmlhttprequest-abort" title="dom-XMLHttpRequest-abort">abort</a>();
// <a href="#response">response</a>
@@ -1261,9 +1261,8 @@
<p>Let <var>mime type</var> be "<code>text/plain;charset=UTF-8</code>".</p>
- <p>Let the <a href="#request-entity-body">request entity body</a> be <var title="">data</var>
- <a class="external" href="http://dev.w3.org/2006/webapi/WebIDL/#dfn-obtain-unicode" title="convert a DOMString to a sequence of Unicode characters">converted to Unicode</a>
- and <a class="external" href="http://encoding.spec.whatwg.org/#encode" title="encode">encoded</a> as
+ <p>Let the <a href="#request-entity-body">request entity body</a> be <var title="">data</var> ,
+ <a class="external" href="http://encoding.spec.whatwg.org/#encode" title="encode">encoded</a> as
<a class="external" href="http://encoding.spec.whatwg.org/#utf-8">utf-8</a>.
</dd>
@@ -2800,7 +2799,7 @@
<dd><cite><a href="http://url.spec.whatwg.org/">URL Standard</a></cite>, Anne van Kesteren. WHATWG.
<dt id="refsWEBIDL">[WEBIDL]
-<dd><cite><a href="http://www.w3.org/TR/WebIDL/">Web IDL</a></cite>, Cameron McCormack. W3C.
+<dd><cite><a href="http://dev.w3.org/2006/webapi/WebIDL/">Web IDL</a></cite>, Cameron McCormack. W3C.
<dt id="refsXML">[XML]
<dd><cite><a href="http://www.w3.org/TR/xml/">Extensible Markup Language</a></cite>, Tim Bray, Jean Paoli, C. M. Sperberg-McQueen et al.. W3C.
--- a/Overview.src.html Wed Oct 23 10:51:27 2013 +0900
+++ b/Overview.src.html Wed Oct 23 11:07:00 2013 +0900
@@ -477,12 +477,12 @@
readonly attribute unsigned short <span title="dom-XMLHttpRequest-readyState">readyState</span>;
// <a href="#request">request</a>
- void <span title="dom-XMLHttpRequest-open">open</span>(ByteString <var>method</var>, DOMString <var title>url</var>, optional boolean <var>async</var> = true, optional DOMString? <var>username</var> = null, optional DOMString? <var>password</var> = null);
+ void <span title="dom-XMLHttpRequest-open">open</span>(ByteString <var>method</var>, [EnsureUTF16] DOMString <var title>url</var>, optional boolean <var>async</var> = true, optional [EnsureUTF16] DOMString? <var>username</var> = null, optional [EnsureUTF16] DOMString? <var>password</var> = null);
void <span title="dom-XMLHttpRequest-setRequestHeader">setRequestHeader</span>(ByteString <var>header</var>, ByteString <var>value</var>);
attribute unsigned long <span title="dom-XMLHttpRequest-timeout">timeout</span>;
attribute boolean <span title="dom-XMLHttpRequest-withCredentials">withCredentials</span>;
readonly attribute <span>XMLHttpRequestUpload</span> <span title="dom-XMLHttpRequest-upload">upload</span>;
- void <span title="dom-XMLHttpRequest-send">send</span>(optional (<span data-anolis-spec=typedarray>ArrayBufferView</span> or <span data-anolis-spec=fileapi>Blob</span> or <span data-anolis-spec=dom>Document</span> or DOMString or <span>FormData</span>)? <var>data</var> = null);
+ void <span title="dom-XMLHttpRequest-send">send</span>(optional (<span data-anolis-spec=typedarray>ArrayBufferView</span> or <span data-anolis-spec=fileapi>Blob</span> or <span data-anolis-spec=dom>Document</span> or [EnsureUTF16] DOMString or <span>FormData</span>)? <var>data</var> = null);
void <span title="dom-XMLHttpRequest-abort">abort</span>();
// <a href="#response">response</a>
@@ -1270,9 +1270,8 @@
<p>Let <var>mime type</var> be "<code>text/plain;charset=UTF-8</code>".</p>
- <p>Let the <span>request entity body</span> be <var title>data</var>
- <span data-anolis-spec=webidl title="convert a DOMString to a sequence of Unicode characters">converted to Unicode</span>
- and <span data-anolis-spec=encoding title=encode>encoded</span> as
+ <p>Let the <span>request entity body</span> be <var title>data</var> ,
+ <span data-anolis-spec=encoding title=encode>encoded</span> as
<span data-anolis-spec=encoding>utf-8</span>.
</dd>
--- a/data/references.json Wed Oct 23 10:51:27 2013 +0900
+++ b/data/references.json Wed Oct 23 11:07:00 2013 +0900
@@ -349,7 +349,7 @@
},
"WEBIDL" :
{
- "href" : "http://www.w3.org/TR/WebIDL/",
+ "href" : "http://dev.w3.org/2006/webapi/WebIDL/",
"title" : "Web IDL",
"authors" : ["Cameron McCormack"],
"publisher" : "W3C"