[Bug 21699] [spec.next] figure out how to make clipboard data type support discoverable

https://www.w3.org/Bugs/Public/show_bug.cgi?id=21699

--- Comment #2 from Hallvord R. M. Steen <hsteen@mozilla.com> ---
Would it be weird to define window.ClipboardEvent.formats ? It would be an
array listing the MIME types the implementation knows how to write to and read
from the clipboard, for example:

window.ClipboardEvent.formats = ['text/plain', 'text/html', 'image/jpeg']

Though this raises fingerprinting concerns. Actually, maybe this should be
pushed to HTML and defined as part of the DataTransfer stuff:
http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#the-datatransfer-interface
- implies it will only be available during event handling, but for general web
usage that may be the best we can get..

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 21 January 2014 00:14:20 UTC