[Bug 23235] enable clipboard usage from certain trusted event-triggered script by default

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

--- Comment #1 from James Greene <james.m.greene@gmail.com> ---
Just to be clear: I was only asking for click-to-copy.  I feel that cut and
paste are much different operations that already have good models around them.

For example, click-to-cut would really only make sense within a
"contenteditable" element or a form field element (e.g. `input[type=text]` or
`textarea`).  I believe that the "contenteditable" elements can already call
`document.execCommand("cut");` today (right?). And having a "cut" button/link
for a plain `textarea` seems like overkill.

As mentioned in Hallvord's original description, "paste" is a dangerous
operation to allow any additional access to.  I don't see any need to enable
click-to-paste.  I think being allowed to read the data only when the user
explicitly pastes into some element on the page makes perfect sense, and the
current spec already allows that.

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

Received on Friday, 13 September 2013 15:57:10 UTC