<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>142843</bug_id>
          
          <creation_ts>2015-03-18 14:55:22 -0700</creation_ts>
          <short_desc>clipboardData.setData(&apos;text/uri-list&apos;, ...) clears existing data.</short_desc>
          <delta_ts>2015-03-18 22:22:42 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>525.x (Safari 3.2)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>OS X 10.10</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Saif Hakim">saif7463</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>darin</cc>
    
    <cc>enrica</cc>
    
    <cc>saif7463</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1078316</commentid>
    <comment_count>0</comment_count>
    <who name="Saif Hakim">saif7463</who>
    <bug_when>2015-03-18 14:55:22 -0700</bug_when>
    <thetext>I have observed that calling clipboardData.setData(&apos;text/uri-list&apos;, ...) 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.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>