WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
151883
Progress towards implementing downloads with NetworkSession
https://bugs.webkit.org/show_bug.cgi?id=151883
Summary
Progress towards implementing downloads with NetworkSession
Alex Christensen
Reported
2015-12-04 13:57:32 PST
Progress towards implementing downloads with NetworkSession
Attachments
Patch
(16.95 KB, patch)
2015-12-04 13:57 PST
,
Alex Christensen
no flags
Details
Formatted Diff
Diff
Patch
(17.16 KB, patch)
2015-12-04 14:11 PST
,
Alex Christensen
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Alex Christensen
Comment 1
2015-12-04 13:57:53 PST
Created
attachment 266657
[details]
Patch
Alex Christensen
Comment 2
2015-12-04 14:11:29 PST
Created
attachment 266661
[details]
Patch
Brady Eidson
Comment 3
2015-12-08 13:52:50 PST
Comment on
attachment 266661
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=266661&action=review
> Source/WebKit2/NetworkProcess/NetworkSession.h:-106 > - ~NetworkSession() { ASSERT(m_dataTaskMap.isEmpty()); }
This ASSERT seems to be missing from the new ~NetworkSession. Intentional?
> Source/WebKit2/NetworkProcess/cocoa/NetworkSessionCocoa.mm:226 > + [m_session invalidateAndCancel];
The ASSERT I mentioned above seems to be missing here. Intentional?
Alex Christensen
Comment 4
2015-12-08 14:20:10 PST
(In reply to
comment #3
)
> Comment on
attachment 266661
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=266661&action=review
> > > Source/WebKit2/NetworkProcess/NetworkSession.h:-106 > > - ~NetworkSession() { ASSERT(m_dataTaskMap.isEmpty()); } > > This ASSERT seems to be missing from the new ~NetworkSession. Intentional?
Yes, intentional. That is because I was running into destroyed network sessions that had data tasks still, so I call [m_session invalidateAndCancel]
WebKit Commit Bot
Comment 5
2015-12-08 15:06:12 PST
Comment on
attachment 266661
[details]
Patch Clearing flags on attachment: 266661 Committed
r193787
: <
http://trac.webkit.org/changeset/193787
>
WebKit Commit Bot
Comment 6
2015-12-08 15:06:16 PST
All reviewed patches have been landed. Closing bug.
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