Use ScalarValueString https://github.com/whatwg/xhr/commit/fad6118b670569bef63afc8d5e1bb5a94154f431
--- a/Overview.html Mon May 19 11:42:35 2014 +0900
+++ b/Overview.html Mon May 26 19:06:08 2014 +0900
@@ -45,7 +45,7 @@
<a href="http://xhr.spec.whatwg.org/">XMLHttpRequest Living Standard</a>
</h2>
- <h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 19 May 2014</h2>
+ <h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 26 May 2014</h2>
<dl>
<dt>This Version:</dt>
@@ -95,7 +95,7 @@
<p class="now3c copyright"><a rel=license href="http://creativecommons.org/publicdomain/zero/1.0/"><img src="http://i.creativecommons.org/p/zero/1.0/80x15.png" alt=CC0></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
-19 May 2014, the editor has made this specification available
+26 May 2014, the editor has made this specification available
under the
<a rel=license
href="http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0">Open Web Foundation Agreement Version 1.0</a>,
@@ -137,7 +137,7 @@
with <samp>[XHR]</samp> at the start of the subject line.</p>
<p>The W3C <a href="http://www.w3.org/2008/webapps/">Web Applications Working
- Group</a> is the W3C working group responsible for this specification's progress along the W3C Recommendation track. This specification is the 19 May 2014 Editor's Draft.</p>
+ Group</a> is the W3C working group responsible for this specification's progress along the W3C Recommendation track. This specification is the 26 May 2014 Editor's Draft.</p>
<p>Publication as an Editor's Draft does not imply endorsement by the W3C
Membership. This is a draft document and may be updated, replaced or
@@ -460,13 +460,13 @@
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>, [EnsureUTF16] DOMString <var title="">url</var>);
- void <a href="#dom-xmlhttprequest-open" title="dom-XMLHttpRequest-open">open</a>(ByteString <var>method</var>, [EnsureUTF16] DOMString <var title="">url</var>, boolean <var>async</var>, optional [EnsureUTF16] DOMString? <var>username</var> = null, optional [EnsureUTF16] DOMString? <var>password</var> = null);
+ void <a href="#dom-xmlhttprequest-open" title="dom-XMLHttpRequest-open">open</a>(ByteString <var>method</var>, <a class="external" href="http://encoding.spec.whatwg.org/#scalarvaluestring">ScalarValueString</a> <var title="">url</var>);
+ void <a href="#dom-xmlhttprequest-open" title="dom-XMLHttpRequest-open">open</a>(ByteString <var>method</var>, <a class="external" href="http://encoding.spec.whatwg.org/#scalarvaluestring">ScalarValueString</a> <var title="">url</var>, boolean <var>async</var>, optional <a class="external" href="http://encoding.spec.whatwg.org/#scalarvaluestring">ScalarValueString</a>? <var>username</var> = null, optional <a class="external" href="http://encoding.spec.whatwg.org/#scalarvaluestring">ScalarValueString</a>? <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 [EnsureUTF16] 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 <a class="external" href="http://encoding.spec.whatwg.org/#scalarvaluestring">ScalarValueString</a> 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>
@@ -2581,8 +2581,8 @@
<pre class="idl">[<a href="#dom-formdata" title="dom-FormData">Constructor</a>(optional <a class="external" href="http://www.w3.org/html/wg/drafts/html/master/forms.html#htmlformelement">HTMLFormElement</a> <var>form</var>)]
interface <dfn id="formdata">FormData</dfn> {
- void <a href="#dom-formdata-append" title="dom-FormData-append">append</a>([EnsureUTF16] DOMString <var>name</var>, <a class="external" href="http://dev.w3.org/2006/webapi/FileAPI/#blob">Blob</a> <var>value</var>, optional [EnsureUTF16] DOMString <var>filename</var>);
- void <a href="#dom-formdata-append" title="dom-FormData-append">append</a>([EnsureUTF16] DOMString <var>name</var>, [EnsureUTF16] DOMString <var>value</var>);
+ void <a href="#dom-formdata-append" title="dom-FormData-append">append</a>(<a class="external" href="http://encoding.spec.whatwg.org/#scalarvaluestring">ScalarValueString</a> <var>name</var>, <a class="external" href="http://dev.w3.org/2006/webapi/FileAPI/#blob">Blob</a> <var>value</var>, optional <a class="external" href="http://encoding.spec.whatwg.org/#scalarvaluestring">ScalarValueString</a> <var>filename</var>);
+ void <a href="#dom-formdata-append" title="dom-FormData-append">append</a>(<a class="external" href="http://encoding.spec.whatwg.org/#scalarvaluestring">ScalarValueString</a> <var>name</var>, <a class="external" href="http://encoding.spec.whatwg.org/#scalarvaluestring">ScalarValueString</a> <var>value</var>);
};</pre>
<p>If the <a class="external" href="http://www.w3.org/html/wg/drafts/html/master/infrastructure.html#javascript-global-environment">JavaScript global environment</a> is a
--- a/Overview.src.html Mon May 19 11:42:35 2014 +0900
+++ b/Overview.src.html Mon May 26 19:06:08 2014 +0900
@@ -469,13 +469,13 @@
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>, [EnsureUTF16] DOMString <var title>url</var>);
- void <span title="dom-XMLHttpRequest-open">open</span>(ByteString <var>method</var>, [EnsureUTF16] DOMString <var title>url</var>, boolean <var>async</var>, optional [EnsureUTF16] DOMString? <var>username</var> = null, optional [EnsureUTF16] DOMString? <var>password</var> = null);
+ void <span title="dom-XMLHttpRequest-open">open</span>(ByteString <var>method</var>, <span data-anolis-spec=encoding>ScalarValueString</span> <var title>url</var>);
+ void <span title="dom-XMLHttpRequest-open">open</span>(ByteString <var>method</var>, <span data-anolis-spec=encoding>ScalarValueString</span> <var title>url</var>, boolean <var>async</var>, optional <span data-anolis-spec=encoding>ScalarValueString</span>? <var>username</var> = null, optional <span data-anolis-spec=encoding>ScalarValueString</span>? <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 [EnsureUTF16] 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 <span data-anolis-spec=encoding>ScalarValueString</span> or <span>FormData</span>)? <var>data</var> = null);
void <span title="dom-XMLHttpRequest-abort">abort</span>();
// <a href="#response">response</a>
@@ -2590,8 +2590,8 @@
<pre class="idl">[<span title="dom-FormData">Constructor</span>(optional <span data-anolis-spec=html>HTMLFormElement</span> <var>form</var>)]
interface <dfn>FormData</dfn> {
- void <span title="dom-FormData-append">append</span>([EnsureUTF16] DOMString <var>name</var>, <span data-anolis-spec=fileapi>Blob</span> <var>value</var>, optional [EnsureUTF16] DOMString <var>filename</var>);
- void <span title="dom-FormData-append">append</span>([EnsureUTF16] DOMString <var>name</var>, [EnsureUTF16] DOMString <var>value</var>);
+ void <span title="dom-FormData-append">append</span>(<span data-anolis-spec=encoding>ScalarValueString</span> <var>name</var>, <span data-anolis-spec=fileapi>Blob</span> <var>value</var>, optional <span data-anolis-spec=encoding>ScalarValueString</span> <var>filename</var>);
+ void <span title="dom-FormData-append">append</span>(<span data-anolis-spec=encoding>ScalarValueString</span> <var>name</var>, <span data-anolis-spec=encoding>ScalarValueString</span> <var>value</var>);
};</pre>
<p>If the <span data-anolis-spec=html>JavaScript global environment</span> is a
--- a/data/xrefs/network/encoding.json Mon May 19 11:42:35 2014 +0900
+++ b/data/xrefs/network/encoding.json Mon May 26 19:06:08 2014 +0900
@@ -88,6 +88,7 @@
"label": "label",
"macintosh": "macintosh",
"name": "name",
+ "scalarvaluestring": "scalarvaluestring",
"shift_jis": "shift_jis",
"shift_jis decoder": "shift_jis-decoder",
"shift_jis encoder": "shift_jis-encoder",
--- a/xhr-1/Overview.html Mon May 19 11:42:35 2014 +0900
+++ b/xhr-1/Overview.html Mon May 26 19:06:08 2014 +0900
@@ -47,7 +47,7 @@
<a href="http://xhr.spec.whatwg.org/">XMLHttpRequest Living Standard</a>
</h2>
- <h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 19 May 2014</h2>
+ <h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 26 May 2014</h2>
<dl>
<dt>This Version:</dt>
@@ -128,7 +128,7 @@
with <samp>[XHR]</samp> at the start of the subject line.</p>
<p>The W3C <a href="http://www.w3.org/2008/webapps/">Web Applications Working
- Group</a> is the W3C working group responsible for this specification's progress along the W3C Recommendation track. This specification is the 19 May 2014 Editor's Draft.</p>
+ Group</a> is the W3C working group responsible for this specification's progress along the W3C Recommendation track. This specification is the 26 May 2014 Editor's Draft.</p>
<p>Publication as an Editor's Draft does not imply endorsement by the W3C
Membership. This is a draft document and may be updated, replaced or
@@ -469,13 +469,13 @@
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>, [EnsureUTF16] DOMString <var title="">url</var>);
- void <a href="#dom-xmlhttprequest-open" title="dom-XMLHttpRequest-open">open</a>(ByteString <var>method</var>, [EnsureUTF16] DOMString <var title="">url</var>, boolean <var>async</var>, optional [EnsureUTF16] DOMString? <var>username</var> = null, optional [EnsureUTF16] DOMString? <var>password</var> = null);
+ void <a href="#dom-xmlhttprequest-open" title="dom-XMLHttpRequest-open">open</a>(ByteString <var>method</var>, <a class="external" href="http://encoding.spec.whatwg.org/#scalarvaluestring">ScalarValueString</a> <var title="">url</var>);
+ void <a href="#dom-xmlhttprequest-open" title="dom-XMLHttpRequest-open">open</a>(ByteString <var>method</var>, <a class="external" href="http://encoding.spec.whatwg.org/#scalarvaluestring">ScalarValueString</a> <var title="">url</var>, boolean <var>async</var>, optional <a class="external" href="http://encoding.spec.whatwg.org/#scalarvaluestring">ScalarValueString</a>? <var>username</var> = null, optional <a class="external" href="http://encoding.spec.whatwg.org/#scalarvaluestring">ScalarValueString</a>? <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 [EnsureUTF16] 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 <a class="external" href="http://encoding.spec.whatwg.org/#scalarvaluestring">ScalarValueString</a> 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>
@@ -2594,8 +2594,8 @@
<pre class="idl">[<a href="#dom-formdata" title="dom-FormData">Constructor</a>(optional <a class="external" href="http://www.w3.org/html/wg/drafts/html/master/forms.html#htmlformelement">HTMLFormElement</a> <var>form</var>)]
interface <dfn id="formdata">FormData</dfn> {
- void <a href="#dom-formdata-append" title="dom-FormData-append">append</a>([EnsureUTF16] DOMString <var>name</var>, <a class="external" href="http://dev.w3.org/2006/webapi/FileAPI/#blob">Blob</a> <var>value</var>, optional [EnsureUTF16] DOMString <var>filename</var>);
- void <a href="#dom-formdata-append" title="dom-FormData-append">append</a>([EnsureUTF16] DOMString <var>name</var>, [EnsureUTF16] DOMString <var>value</var>);
+ void <a href="#dom-formdata-append" title="dom-FormData-append">append</a>(<a class="external" href="http://encoding.spec.whatwg.org/#scalarvaluestring">ScalarValueString</a> <var>name</var>, <a class="external" href="http://dev.w3.org/2006/webapi/FileAPI/#blob">Blob</a> <var>value</var>, optional <a class="external" href="http://encoding.spec.whatwg.org/#scalarvaluestring">ScalarValueString</a> <var>filename</var>);
+ void <a href="#dom-formdata-append" title="dom-FormData-append">append</a>(<a class="external" href="http://encoding.spec.whatwg.org/#scalarvaluestring">ScalarValueString</a> <var>name</var>, <a class="external" href="http://encoding.spec.whatwg.org/#scalarvaluestring">ScalarValueString</a> <var>value</var>);
};</pre>
<p>If the <a class="external" href="http://www.w3.org/html/wg/drafts/html/master/infrastructure.html#javascript-global-environment">JavaScript global environment</a> is a
--- a/xhr-1/Overview.src.html Mon May 19 11:42:35 2014 +0900
+++ b/xhr-1/Overview.src.html Mon May 26 19:06:08 2014 +0900
@@ -478,13 +478,13 @@
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>, [EnsureUTF16] DOMString <var title>url</var>);
- void <span title="dom-XMLHttpRequest-open">open</span>(ByteString <var>method</var>, [EnsureUTF16] DOMString <var title>url</var>, boolean <var>async</var>, optional [EnsureUTF16] DOMString? <var>username</var> = null, optional [EnsureUTF16] DOMString? <var>password</var> = null);
+ void <span title="dom-XMLHttpRequest-open">open</span>(ByteString <var>method</var>, <span data-anolis-spec=encoding>ScalarValueString</span> <var title>url</var>);
+ void <span title="dom-XMLHttpRequest-open">open</span>(ByteString <var>method</var>, <span data-anolis-spec=encoding>ScalarValueString</span> <var title>url</var>, boolean <var>async</var>, optional <span data-anolis-spec=encoding>ScalarValueString</span>? <var>username</var> = null, optional <span data-anolis-spec=encoding>ScalarValueString</span>? <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 [EnsureUTF16] 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 <span data-anolis-spec=encoding>ScalarValueString</span> or <span>FormData</span>)? <var>data</var> = null);
void <span title="dom-XMLHttpRequest-abort">abort</span>();
// <a href="#response">response</a>
@@ -2603,8 +2603,8 @@
<pre class="idl">[<span title="dom-FormData">Constructor</span>(optional <span data-anolis-spec=html>HTMLFormElement</span> <var>form</var>)]
interface <dfn>FormData</dfn> {
- void <span title="dom-FormData-append">append</span>([EnsureUTF16] DOMString <var>name</var>, <span data-anolis-spec=fileapi>Blob</span> <var>value</var>, optional [EnsureUTF16] DOMString <var>filename</var>);
- void <span title="dom-FormData-append">append</span>([EnsureUTF16] DOMString <var>name</var>, [EnsureUTF16] DOMString <var>value</var>);
+ void <span title="dom-FormData-append">append</span>(<span data-anolis-spec=encoding>ScalarValueString</span> <var>name</var>, <span data-anolis-spec=fileapi>Blob</span> <var>value</var>, optional <span data-anolis-spec=encoding>ScalarValueString</span> <var>filename</var>);
+ void <span title="dom-FormData-append">append</span>(<span data-anolis-spec=encoding>ScalarValueString</span> <var>name</var>, <span data-anolis-spec=encoding>ScalarValueString</span> <var>value</var>);
};</pre>
<p>If the <span data-anolis-spec=html>JavaScript global environment</span> is a
--- a/xhr-1/data/xrefs/network/encoding.json Mon May 19 11:42:35 2014 +0900
+++ b/xhr-1/data/xrefs/network/encoding.json Mon May 26 19:06:08 2014 +0900
@@ -88,6 +88,7 @@
"label": "label",
"macintosh": "macintosh",
"name": "name",
+ "scalarvaluestring": "scalarvaluestring",
"shift_jis": "shift_jis",
"shift_jis decoder": "shift_jis-decoder",
"shift_jis encoder": "shift_jis-encoder",