[Webkit-unassigned] [Bug 195145] New: [WK2] It should be possible to follow links with 'download' attributes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 27 21:25:48 PST 2019


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

            Bug ID: 195145
           Summary: [WK2] It should be possible to follow links with
                    'download' attributes
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: david_quesada at apple.com

The HTML spec doesn't mandate that a user agent must download links with 'download' attributes. It says the decision to download or navigate to a hyperlink can be based on the user's preference. For links that have a 'download' attribute set, allowing web view to navigate (rather than download) isn't currently possible with the modern WebKit API because WebPageProxy::receivedNavigationPolicyDecision() makes the decision to convert any download-attribute-having navigation that the navigation delegate allowed into a download. It should be possible for clients to opt-out of this behavior and leave it entirely up to the navigation delegate whether the navigation action starts a navigation or a download.

-- 
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/20190228/cd2dddba/attachment.html>


More information about the webkit-unassigned mailing list