[w3c/clipboard-apis] Where would one get a DataTransfer to hand to the ClipboardEvent constructor? (#33)

DataTransfer objects can't be created by script as things stand; they can only be gotten out of an existing ClipboardEvent or DragEvent.  That makes the constructor version with a DataTransfer dictionary member somewhat useless in practice...  Maybe the answer is that we should in fact have a way of constructing DataTransfer objects?

Note that Firefox currently ships a version of ClipboardEventInit that takes data and dataType strings and internally constructs a DataTransfer from them....

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/clipboard-apis/issues/33

Received on Friday, 16 December 2016 18:52:48 UTC