Bug 978605, DataTransfer.files may return null, r=khuey
authorOlli Pettay <Olli.Pettay@helsinki.fi>
Mon, 03 Mar 2014 00:45:43 +0200
changeset 171744 ac3cee816b0be927e56e8630d913ae2435337fbc
parent 171743 c040bcc0ce7fa321b9dc33bfe9627da8c6eb8543
child 171745 f05e05787c07793b591f8ca26154ac54fd4ad11e
push id270
push userpvanderbeken@mozilla.com
push dateThu, 06 Mar 2014 09:24:21 +0000
reviewerskhuey
bugs978605
milestone30.0a1
Bug 978605, DataTransfer.files may return null, r=khuey
dom/webidl/DataTransfer.webidl
--- a/dom/webidl/DataTransfer.webidl
+++ b/dom/webidl/DataTransfer.webidl
@@ -20,17 +20,17 @@ interface DataTransfer {
   readonly attribute DOMStringList types;
   [Throws]
   DOMString getData(DOMString format);
   [Throws]
   void setData(DOMString format, DOMString data);
   [Throws]
   void clearData(optional DOMString format);
   [Throws]
-  readonly attribute FileList files;
+  readonly attribute FileList? files;
 };
 
 // Mozilla specific stuff
 partial interface DataTransfer {
   /*
    * Set the drag source. Usually you would not change this, but it will
    * affect which node the drag and dragend events are fired at. The
    * default target is the node that was dragged.