[html5] r3558 - [] (0) HTMLInputElement.files should return the same object until the list chang [...]

whatwg at whatwg.org whatwg at whatwg.org
Fri Aug 7 18:12:43 PDT 2009


Author: ianh
Date: 2009-08-07 18:12:42 -0700 (Fri, 07 Aug 2009)
New Revision: 3558

Modified:
   index
   source
Log:
[] (0) HTMLInputElement.files should return the same object until the list changes. (bug 7229)

Modified: index
===================================================================
--- index	2009-08-08 00:51:31 UTC (rev 3557)
+++ index	2009-08-08 01:12:42 UTC (rev 3558)
@@ -33885,10 +33885,11 @@
 
   <hr><p>The <dfn id=dom-input-files title=dom-input-files><code>files</code></dfn> DOM
   attribute allows scripts to access the element's <a href=#concept-input-type-file-selected title=concept-input-type-file-selected>selected files</a>. On
-  getting, if the DOM attribute applies, it must return a new
-  <code>FileList</code> object that represents the current <a href=#concept-input-type-file-selected title=concept-input-type-file-selected>selected files</a>. If
-  the DOM 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>
+  getting, if the DOM attribute applies, it must return a
+  <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 DOM 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>
 
   <hr><p>The <dfn id=dom-input-valueasdate title=dom-input-valueAsDate><code>valueAsDate</code></dfn> DOM
   attribute represents the <a href=#concept-fe-value title=concept-fe-value>value</a> of the element, interpreted

Modified: source
===================================================================
--- source	2009-08-08 00:51:31 UTC (rev 3557)
+++ source	2009-08-08 01:12:42 UTC (rev 3558)
@@ -37715,11 +37715,13 @@
   <p>The <dfn title="dom-input-files"><code>files</code></dfn> DOM
   attribute allows scripts to access the element's <span
   title="concept-input-type-file-selected">selected files</span>. On
-  getting, if the DOM attribute applies, it must return a new
+  getting, if the DOM attribute applies, it must return a
   <code>FileList</code> object that represents the current <span
-  title="concept-input-type-file-selected">selected files</span>. If
-  the DOM attribute does not apply, then it must instead throw an
-  <code>INVALID_STATE_ERR</code> exception. <a
+  title="concept-input-type-file-selected">selected files</span>. The
+  same object must be returned until the list of <span
+  title="concept-input-type-file-selected">selected files</span>
+  changes. If the DOM attribute does not apply, then it must instead
+  throw an <code>INVALID_STATE_ERR</code> exception. <a
   href="#refsFILEAPI">[FILEAPI]</a></p>
 
   <hr>




More information about the Commit-Watchers mailing list