Use [EnsureUTF16] for FormData.append(); WHATWG FormData extension will only be added for bleeding-edge version later.
authorJungkee Song <jungkee.song@samsung.com>
Wed, 23 Oct 2013 15:08:35 +0900
changeset 138 359f6bd1cab1
parent 137 fa9e98c5c0d7
child 139 6823b412deb4
Use [EnsureUTF16] for FormData.append(); WHATWG FormData extension will only be added for bleeding-edge version later.
Overview.html
Overview.src.html
--- a/Overview.html	Wed Oct 23 15:02:35 2013 +0900
+++ b/Overview.html	Wed Oct 23 15:08:35 2013 +0900
@@ -2617,8 +2617,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/the-form-element.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>(DOMString <var>name</var>, <a class="external" href="http://dev.w3.org/2006/webapi/FileAPI/#blob">Blob</a> <var title="">value</var>, optional DOMString <var title="">filename</var>);
-  void <a href="#dom-formdata-append" title="dom-FormData-append">append</a>(DOMString <var>name</var>, DOMString <var>value</var>);
+  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>); 
 };</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	Wed Oct 23 15:02:35 2013 +0900
+++ b/Overview.src.html	Wed Oct 23 15:08:35 2013 +0900
@@ -2626,8 +2626,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>(DOMString <var>name</var>, <span data-anolis-spec=fileapi>Blob</span> <var title>value</var>, optional DOMString <var title>filename</var>);
-  void <span title="dom-FormData-append">append</span>(DOMString <var>name</var>, DOMString <var>value</var>);
+  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>); 
 };</pre>
 
 <p>If the <span data-anolis-spec=html>JavaScript global environment</span> is a