<html>
    <head>
      <base href="https://bugs.webkit.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - On drop, event.dataTransfer.getData(&quot;text&quot;) returns an empty string when dragging an image"
   href="https://bugs.webkit.org/show_bug.cgi?id=170637">170637</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>On drop, event.dataTransfer.getData(&quot;text&quot;) returns an empty string when dragging an image
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>WebKit Nightly Build
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>HTML Editing
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>wenson_hsieh&#64;apple.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>wenson_hsieh&#64;apple.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=306564" name="attach_306564" title="Reduced test case">attachment 306564</a> <a href="attachment.cgi?id=306564&amp;action=edit" title="Reduced test case">[details]</a></span>
Reduced test case

On drop, event.dataTransfer.getData(&quot;text&quot;) returns an empty string when dragging an image

See the attached test case.
1. Drag the img into the blue bordered area
2. Observe that the text reads &quot;The text data is ''&quot; when it should be &quot;The text data is '<a href="https://www.apple.com">https://www.apple.com</a>'&quot;

Regression introduced in Safari 10.1.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>