[Bug 27010] New: allow beforepaste event listeners to inspect type of clipboard contents (?)

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

            Bug ID: 27010
           Summary: allow beforepaste event listeners to inspect type of
                    clipboard contents (?)
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Clipboard API and events
          Assignee: hsteen@mozilla.com
          Reporter: hsteen@mozilla.com
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org

A script listening to beforepaste might only want to handle certain types of
content. For example, it may want to enable the paste command for text and HTML
but not images. We should consider if a beforepaste listener should be allowed
to inspect the types (but not the actual contents) of the clipboard data.

(Technically, to do this we spec that the event object passed to all three
types will be a ClipboardEvent instance and that the associated drag data store
is in protected mode).

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

Received on Thursday, 9 October 2014 15:31:48 UTC