WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
142843
clipboardData.setData('text/uri-list', ...) clears existing data.
https://bugs.webkit.org/show_bug.cgi?id=142843
Summary
clipboardData.setData('text/uri-list', ...) clears existing data.
Saif Hakim
Reported
2015-03-18 14:55:22 PDT
I have observed that calling clipboardData.setData('text/uri-list', ...) after any other calls to clipboardData.setData() will result in a loss of data from the previous calls. Repro:
http://jsfiddle.net/ufwcv0nw/
1. Drag the top div and drop it anywhere. It specifies the data in an order with text/uri-lis first so nothing is over-written. 2. Drag the bottom div and drop it anywhere. It specifies the data in an order with text/uri-list last so everything is over-written.
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug