[Webkit-unassigned] [Bug 170637] New: On drop, event.dataTransfer.getData("text") returns an empty string when dragging an image

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 7 20:09:59 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=170637

            Bug ID: 170637
           Summary: On drop, event.dataTransfer.getData("text") returns an
                    empty string when dragging an image
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: wenson_hsieh at apple.com
                CC: wenson_hsieh at apple.com

Created attachment 306564

  --> https://bugs.webkit.org/attachment.cgi?id=306564&action=review

Reduced test case

On drop, event.dataTransfer.getData("text") 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 "The text data is ''" when it should be "The text data is 'https://www.apple.com'"

Regression introduced in Safari 10.1.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170408/8aeddb4e/attachment.html>


More information about the webkit-unassigned mailing list