| Index: core/dom/DataTransferItemList.idl
|
| diff --git a/core/dom/DataTransferItemList.idl b/core/dom/DataTransferItemList.idl
|
| index eec5c0c50202c52caf2fdc7ac6b23f219f6c68e1..0babe031c24c2c1fa04e11331873091ba16e37c9 100644
|
| --- a/core/dom/DataTransferItemList.idl
|
| +++ b/core/dom/DataTransferItemList.idl
|
| @@ -28,15 +28,13 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -[
|
| - NoInterfaceObject
|
| -] interface DataTransferItemList {
|
| +interface DataTransferItemList {
|
| readonly attribute long length;
|
| - getter DataTransferItem item([Default=Undefined] optional unsigned long index);
|
| + [ImplementedAs=item] getter DataTransferItem (unsigned long index);
|
|
|
| + [RaisesException, ImplementedAs=deleteItem] void remove(unsigned long index);
|
| void clear();
|
| - void add(File? file);
|
| - [RaisesException] void add([Default=Undefined] optional DOMString data,
|
| - [Default=Undefined] optional DOMString type);
|
| + DataTransferItem add(File? file);
|
| + [RaisesException] DataTransferItem add(DOMString data, DOMString type);
|
| };
|
|
|
|
|