Bug 155665 - NSURLSession: Set download resume data when a download fails due to an error
Summary: NSURLSession: Set download resume data when a download fails due to an error
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: Safari 9
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Brady Eidson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-18 14:51 PDT by Brady Eidson
Modified: 2016-03-18 16:53 PDT (History)
2 users (show)

See Also:


Attachments
Patch v1 (2.10 KB, patch)
2016-03-18 15:41 PDT, Brady Eidson
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brady Eidson 2016-03-18 14:51:05 PDT
NSURLSession: Set download resume data when a download fails due to an error

The download resume data is in the user info of the NSError.  We should use it if it’s there.
Comment 1 Brady Eidson 2016-03-18 15:41:13 PDT
Created attachment 274461 [details]
Patch v1
Comment 2 Alex Christensen 2016-03-18 16:05:37 PDT
Comment on attachment 274461 [details]
Patch v1

beautiful
Comment 3 WebKit Commit Bot 2016-03-18 16:53:48 PDT
Comment on attachment 274461 [details]
Patch v1

Clearing flags on attachment: 274461

Committed r198453: <http://trac.webkit.org/changeset/198453>
Comment 4 WebKit Commit Bot 2016-03-18 16:53:51 PDT
All reviewed patches have been landed.  Closing bug.