Skip to content

Commit

Permalink
[giow] (1) Make HTMLInputElement.files not throw when called at a bog…
Browse files Browse the repository at this point in the history
…us time.

git-svn-id: http://svn.whatwg.org/webapps@5254 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 9, 2010
1 parent 46d8e55 commit 28205b8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
5 changes: 2 additions & 3 deletions complete.html
Expand Up @@ -41981,8 +41981,7 @@ <h5 id=common-input-element-apis><span class=secno>4.10.7.3 </span>Common <code>
<p>Returns a <code>FileList</code> object listing the <a href=#concept-input-type-file-selected title=concept-input-type-file-selected>selected files</a> of
the form control.</p>

<p>Throws an <code><a href=#invalid_state_err>INVALID_STATE_ERR</a></code> exception if the
control isn't a file control.</p>
<p>Returns null if the control isn't a file control.</p>

</dd>

Expand Down Expand Up @@ -42102,7 +42101,7 @@ <h5 id=common-input-element-apis><span class=secno>4.10.7.3 </span>Common <code>
<code>FileList</code> object that represents the current <a href=#concept-input-type-file-selected title=concept-input-type-file-selected>selected files</a>. The
same object must be returned until the list of <a href=#concept-input-type-file-selected title=concept-input-type-file-selected>selected files</a>
changes. If the IDL attribute does not apply, then it must instead
throw an <code><a href=#invalid_state_err>INVALID_STATE_ERR</a></code> exception. <a href=#refsFILEAPI>[FILEAPI]</a></p>
return null. <a href=#refsFILEAPI>[FILEAPI]</a></p>

<hr><p>The <dfn id=dom-input-valueasdate title=dom-input-valueAsDate><code>valueAsDate</code></dfn> IDL
attribute represents the <a href=#concept-fe-value title=concept-fe-value>value</a> of the element, interpreted
Expand Down
5 changes: 2 additions & 3 deletions index
Expand Up @@ -41908,8 +41908,7 @@ You cannot complete this form until the field is correct.</samp></pre>
<p>Returns a <code>FileList</code> object listing the <a href=#concept-input-type-file-selected title=concept-input-type-file-selected>selected files</a> of
the form control.</p>

<p>Throws an <code><a href=#invalid_state_err>INVALID_STATE_ERR</a></code> exception if the
control isn't a file control.</p>
<p>Returns null if the control isn't a file control.</p>

</dd>

Expand Down Expand Up @@ -42029,7 +42028,7 @@ You cannot complete this form until the field is correct.</samp></pre>
<code>FileList</code> object that represents the current <a href=#concept-input-type-file-selected title=concept-input-type-file-selected>selected files</a>. The
same object must be returned until the list of <a href=#concept-input-type-file-selected title=concept-input-type-file-selected>selected files</a>
changes. If the IDL attribute does not apply, then it must instead
throw an <code><a href=#invalid_state_err>INVALID_STATE_ERR</a></code> exception. <a href=#refsFILEAPI>[FILEAPI]</a></p>
return null. <a href=#refsFILEAPI>[FILEAPI]</a></p>

<hr><p>The <dfn id=dom-input-valueasdate title=dom-input-valueAsDate><code>valueAsDate</code></dfn> IDL
attribute represents the <a href=#concept-fe-value title=concept-fe-value>value</a> of the element, interpreted
Expand Down
6 changes: 2 additions & 4 deletions source
Expand Up @@ -46772,8 +46772,7 @@ You cannot complete this form until the field is correct.</samp></pre>
title="concept-input-type-file-selected">selected files</span> of
the form control.</p>

<p>Throws an <code>INVALID_STATE_ERR</code> exception if the
control isn't a file control.</p>
<p>Returns null if the control isn't a file control.</p>

</dd>

Expand Down Expand Up @@ -46927,8 +46926,7 @@ You cannot complete this form until the field is correct.</samp></pre>
same object must be returned until the list of <span
title="concept-input-type-file-selected">selected files</span>
changes. If the IDL attribute does not apply, then it must instead
throw an <code>INVALID_STATE_ERR</code> exception. <a
href="#refsFILEAPI">[FILEAPI]</a></p>
return null. <a href="#refsFILEAPI">[FILEAPI]</a></p>

<hr>

Expand Down

0 comments on commit 28205b8

Please sign in to comment.