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+

Description Carlos Garcia Campos 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.
Comment 1 Carlos Garcia Campos 2016-10-06 06:43:56 PDT
Created attachment 290821 [details]
Patch
Comment 2 Carlos Garcia Campos 2016-10-07 09:35:23 PDT
Committed r206913: <http://trac.webkit.org/changeset/206913>