Bug 142843

Summary: clipboardData.setData('text/uri-list', ...) clears existing data.
Product: WebKit Reporter: Saif Hakim <saif7463>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ap, darin, enrica, saif7463
Priority: P2    
Version: 525.x (Safari 3.2)   
Hardware: Unspecified   
OS: OS X 10.10   

Description Saif Hakim 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.