Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Unified Diff: third_party/WebKit/Source/core/clipboard/DataTransfer.idl

Issue 2875013002: DataTransfer: Make |types| be a FrozenArray<DOMString>. (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/clipboard/DataTransfer.idl
diff --git a/third_party/WebKit/Source/core/clipboard/DataTransfer.idl b/third_party/WebKit/Source/core/clipboard/DataTransfer.idl
index 71ab1f72c672d5f180e5a4c8277d7260dedf7d5b..6129bba0656ce773a0ccd3a9ba78e52276909a58 100644
--- a/third_party/WebKit/Source/core/clipboard/DataTransfer.idl
+++ b/third_party/WebKit/Source/core/clipboard/DataTransfer.idl
@@ -39,9 +39,7 @@
void setDragImage(Element image, long x, long y);
/* old interface */
- // TODO(foolip): Switch to FrozenArray<DOMString> when the spec is fixed:
- // https://github.com/whatwg/html/issues/11
- [SameObject] readonly attribute DOMString[] types;
+ readonly attribute FrozenArray<DOMString> types;
foolip 2017/05/12 07:51:42 This will require some tests, can you update Layou
DOMString getData(DOMString format);
void setData(DOMString format, DOMString data);
void clearData(optional DOMString format);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698