[Bug 23232] clipboardData.clearData() should not clear clipboard

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

James M. Greene <james.m.greene@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |james.m.greene@gmail.com

--- Comment #1 from James M. Greene <james.m.greene@gmail.com> ---
Why shouldn't `clearData` be allowed to clear the clipboard during a
synchronous flow of a copy event?  This is vitally important in making sensible
data sets for copying.  Without it, things can get VERY weird for the user.

For example:
 1. The user's clipboard holds existing HTML data in the HTML clipboard
segment.
 2. The user comes to your web application and invokes your copy functionality.
 3. Your copy only adds plain text data to the text clipboard segment but
cannot clear the other segments (e.g. HTML).
 4. The user opens a rich text editor (e.g. Microsoft Word).
 5. The user tries to paste the text they just got from your web app into Word.
 6. The pasted content would be the previously existing HTML data.


Not good!

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

Received on Thursday, 17 October 2013 04:32:27 UTC