[html5] r3548 - [] (0) Allow File, FileData, and FileList to be passed through postMessage().

whatwg at whatwg.org whatwg at whatwg.org
Thu Aug 6 16:13:16 PDT 2009


Author: ianh
Date: 2009-08-06 16:13:14 -0700 (Thu, 06 Aug 2009)
New Revision: 3548

Modified:
   index
   source
Log:
[] (0) Allow File, FileData, and FileList to be passed through postMessage().

Modified: index
===================================================================
--- index	2009-08-06 09:24:31 UTC (rev 3547)
+++ index	2009-08-06 23:13:14 UTC (rev 3548)
@@ -6275,6 +6275,18 @@
    <code title=dom-canvaspixelarray-length><a href=#dom-canvaspixelarray-length>length</a></code> and pixel
    values as the <var title="">input</var>'s.</dd>
 
+   <dt>If <var title="">input</var> is a <code>File</code> object</dt>
+
+   <dd><p>Return a newly constructed <code>File</code> object corresponding to the same underlying data.</dd>
+
+   <dt>If <var title="">input</var> is a <code>FileData</code> object</dt>
+
+   <dd><p>Return a newly constructed <code>FileData</code> object corresponding to the same underlying data.</dd>
+
+   <dt>If <var title="">input</var> is a <code>FileList</code> object</dt>
+
+   <dd><p>Return a newly constructed <code>FileList</code> object containing a list of newly constructed <code>File</code> objects corresponding to the same underlying data as those in <var title="">input</var>, maintaining their relative order.</dd>
+
    <dt>If <var title="">input</var> is a host object (e.g. a DOM node)</dt>
 
    <dd><p>Return the null value.</dd>

Modified: source
===================================================================
--- source	2009-08-06 09:24:31 UTC (rev 3547)
+++ source	2009-08-06 23:13:14 UTC (rev 3548)
@@ -6195,6 +6195,18 @@
    <code title="dom-canvaspixelarray-length">length</code> and pixel
    values as the <var title="">input</var>'s.</p></dd>
 
+   <dt>If <var title="">input</var> is a <code>File</code> object</dt>
+
+   <dd><p>Return a newly constructed <code>File</code> object corresponding to the same underlying data.</p></dd>
+
+   <dt>If <var title="">input</var> is a <code>FileData</code> object</dt>
+
+   <dd><p>Return a newly constructed <code>FileData</code> object corresponding to the same underlying data.</p></dd>
+
+   <dt>If <var title="">input</var> is a <code>FileList</code> object</dt>
+
+   <dd><p>Return a newly constructed <code>FileList</code> object containing a list of newly constructed <code>File</code> objects corresponding to the same underlying data as those in <var title="">input</var>, maintaining their relative order.</p></dd>
+
    <dt>If <var title="">input</var> is a host object (e.g. a DOM node)</dt>
 
    <dd><p>Return the null value.</p></dd>




More information about the Commit-Watchers mailing list