WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 50185
Should be able to pause and resume downloads
https://bugs.webkit.org/show_bug.cgi?id=50185
Summary
Should be able to pause and resume downloads
Anders Carlsson
Reported
2010-11-29 14:23:43 PST
Should be able to pause and resume downloads
Attachments
Patch
(19.03 KB, patch)
2010-11-29 14:30 PST
,
Anders Carlsson
darin
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Anders Carlsson
Comment 1
2010-11-29 14:24:04 PST
<
rdar://problem/8691135
>
Anders Carlsson
Comment 2
2010-11-29 14:30:45 PST
Created
attachment 75062
[details]
Patch
Darin Adler
Comment 3
2010-11-29 14:37:13 PST
Comment on
attachment 75062
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=75062&action=review
Might be better to name this resumptionData rather than resumeData so it doesn’t sound like a verb phrase. But I guess the NSURLDownload method is already named resumeData?
> WebKit2/UIProcess/Downloads/DownloadProxy.cpp:153 > + if (!resumeData.isEmpty()) > + m_resumeData = WebData::create(resumeData.data(), resumeData.size());
Would be nice to share this code instead of writing it twice.
Anders Carlsson
Comment 4
2010-11-29 14:41:04 PST
(In reply to
comment #3
)
> (From update of
attachment 75062
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=75062&action=review
> > Might be better to name this resumptionData rather than resumeData so it doesn’t sound like a verb phrase. But I guess the NSURLDownload method is already named resumeData?
Yeah.
> > > WebKit2/UIProcess/Downloads/DownloadProxy.cpp:153 > > + if (!resumeData.isEmpty()) > > + m_resumeData = WebData::create(resumeData.data(), resumeData.size()); > > Would be nice to share this code instead of writing it twice.
Fixed. Thanks for reviewing!
Anders Carlsson
Comment 5
2010-11-29 15:34:55 PST
Committed
r72841
: <
http://trac.webkit.org/changeset/72841
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug