Bug 163010

Summary: Network Session: Allow NetworkDataTask decide what to do when override is allowed for a download
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen
Priority: P2    
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch achristensen: review+

Carlos Garcia Campos
Reported 2016-10-06 06:41:29 PDT
Current code always deletes the file before starting a download when allow override is True. In soup backend we use glib API that takes care of it and tries to ensure that the original file is not deleted if the new file creation fails for whatever reason.
Attachments
Patch (4.44 KB, patch)
2016-10-06 06:43 PDT, Carlos Garcia Campos
achristensen: review+
Carlos Garcia Campos
Comment 1 2016-10-06 06:43:56 PDT
Carlos Garcia Campos
Comment 2 2016-10-07 09:35:23 PDT
Note You need to log in before you can comment on or make changes to this bug.