[Webkit-unassigned] [Bug 163107] New: NetworkSession: downloads started by startDownload() can fail before starting from the API point of view

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 7 04:38:20 PDT 2016


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

            Bug ID: 163107
           Summary: NetworkSession: downloads started by startDownload()
                    can fail before starting from the API point of view
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: cgarcia at igalia.com
                CC: achristensen at apple.com, beidson at apple.com

In the network process we use a PendingDownload in this case, but in the UI process we always have a single download proxy. If an error happens before the pending download is converted inot a real download, the DidFail messages is received in the download proxy before the DidStart one. This is problematic at least for the GTK+ API, because it's common to connect to the started signal and connect to all other signals from there, but in this case the started signal is never emitted, and then the failed one is not handled. This is not a problem for downloads started by convertTaskToDownload, because in that case those loads are not considered a download by the UI process when those early errors happen, and then the web page handles them.

-- 
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/20161007/7407c7e8/attachment-0001.html>


More information about the webkit-unassigned mailing list