[Webkit-unassigned] [Bug 187212] New: [macOS] Don't treat URL titles as URLs when adding to the pasteboard

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 29 18:53:50 PDT 2018


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

            Bug ID: 187212
           Summary: [macOS] Don't treat URL titles as URLs when adding to
                    the pasteboard
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Macintosh
                OS: Other
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: akeerthi at apple.com
                CC: wenson_hsieh at apple.com

r210683 introduced logic to prevent file URLs from being copied to the clipboard in unexpected cases. In order to achieve this functionality, checkURLReceivedFromWebProcess was called on all items in the pathnames array passed into WebPasteboardProxy::setPasteboardPathnamesForType. However, this method is a misnomer, as the pathnames array always contains exactly one URL and one title for the URL.

We should not call checkURLReceivedFromWebProcess on the title and we should refactor the associated methods to avoid referring to multiple pathnames.

-- 
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/20180630/b54b1120/attachment.html>


More information about the webkit-unassigned mailing list