[Webkit-unassigned] [Bug 196702] New: insertFromPaste InputEvent missing text/uri-list in dataTransfer for pasted links

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 8 12:18:38 PDT 2019


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

            Bug ID: 196702
           Summary: insertFromPaste InputEvent missing text/uri-list in
                    dataTransfer for pasted links
           Product: WebKit
           Version: Safari 12
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: javan at javan.us
                CC: wenson_hsieh at apple.com

Created attachment 366966

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

Link paste inspection

To reproduce:
1. Open a page containing the following HTML: <a href="https://bugs.webkit.org/">WebKit Bugzilla</a>
2. Right-click the link and choose "Copy Link"
3. Paste into a contenteditable element
4. Inspect the "paste" event's clipboardData: 
   { 
     "text/plain": "https://bugs.webkit.org/", 
     "text/uri-list": "https://bugs.webkit.org/" 
   }
5. Compare that to the "beforeinput" or "input" event's dataTransfer: 
   { 
     "text/html": "<a href="https://bugs.webkit.org/">WebKit Bugzilla</a>", 
     "text/plain": "WebKit Bugzilla" 
   }


Example paste: https://input-inspector.now.sh/profiles/u8CdyvoSRZtimXxzBSS0

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


More information about the webkit-unassigned mailing list