Index: core/clipboard/DataTransferItem.idl |
diff --git a/core/clipboard/DataTransferItem.idl b/core/clipboard/DataTransferItem.idl |
index 32e69045344e490ab6f237f19af48cdf7683aa19..1328c6ed88a1ae5445a6924af99628108130fec9 100644 |
--- a/core/clipboard/DataTransferItem.idl |
+++ b/core/clipboard/DataTransferItem.idl |
@@ -28,14 +28,15 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
+// https://html.spec.whatwg.org/#the-datatransferitem-interface |
+ |
[ |
- WillBeGarbageCollected, |
- NoInterfaceObject |
+ GarbageCollected, |
] interface DataTransferItem { |
readonly attribute DOMString kind; |
readonly attribute DOMString type; |
- |
+ // TODO(philipj): The callback argument should be a FunctionStringCallback. |
[CallWith=ExecutionContext] void getAsString(StringCallback? callback); |
- Blob getAsFile(); |
+ // TODO(philipj): getAsFile() should return a File object. crbug.com/361145 |
+ Blob? getAsFile(); |
}; |
- |