[Webkit-unassigned] [Bug 192683] New: Add a class to bundle download configuration parameters together

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 13 15:08:00 PST 2018


            Bug ID: 192683
           Summary: Add a class to bundle download configuration
                    parameters together
           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

After deciding the destination for a download, the UI process currently sends three things to the Network process - the destination path, a sandbox extension, and whether or not to allow overwriting an existing file. These things could be folded into one data structure, so it can be more easily expanded if we have more configuration about the download to send to the Network process in the future. For example, Cocoa could do this with the NSProgress URL. Conditionally adding a member to the theoretical "DownloadConfiguration" structure will require less code churn than conditionally adding a new parameter to every method signature where we pass the three current pieces of configuration.

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/20181213/a950f391/attachment.html>

More information about the webkit-unassigned mailing list