Skip to content

Commit

Permalink
[] (0) Allow File, FileData, and FileList to be passed through postMe…
Browse files Browse the repository at this point in the history
…ssage().

git-svn-id: http://svn.whatwg.org/webapps@3548 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 6, 2009
1 parent f5cb573 commit ccb56b6
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions index
Expand Up @@ -6275,6 +6275,18 @@ interface <dfn id=propertynodelist>PropertyNodeList</dfn> : <span>NodeList</span
<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>
Expand Down
12 changes: 12 additions & 0 deletions source
Expand Up @@ -6195,6 +6195,18 @@ interface <dfn>PropertyNodeList</dfn> : <span>NodeList</span> {
<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>
Expand Down

0 comments on commit ccb56b6

Please sign in to comment.