| Index: core/clipboard/DataTransferItemList.idl
|
| diff --git a/core/clipboard/DataTransferItemList.idl b/core/clipboard/DataTransferItemList.idl
|
| index 0babe031c24c2c1fa04e11331873091ba16e37c9..7bdf22c9cf8216ab1c16daefa4460b1af06ef5da 100644
|
| --- a/core/clipboard/DataTransferItemList.idl
|
| +++ b/core/clipboard/DataTransferItemList.idl
|
| @@ -28,13 +28,17 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -interface DataTransferItemList {
|
| +// http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#datatransferitemlist
|
| +
|
| +[
|
| + TypeChecking=Interface,
|
| + WillBeGarbageCollected,
|
| +] interface DataTransferItemList {
|
| readonly attribute long length;
|
| [ImplementedAs=item] getter DataTransferItem (unsigned long index);
|
|
|
| + [RaisesException] DataTransferItem add(DOMString data, DOMString type);
|
| + DataTransferItem add(File? file);
|
| [RaisesException, ImplementedAs=deleteItem] void remove(unsigned long index);
|
| void clear();
|
| - DataTransferItem add(File? file);
|
| - [RaisesException] DataTransferItem add(DOMString data, DOMString type);
|
| };
|
| -
|
|
|