WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
28802
Remove ASSERT(frame) in ResourceHandle::start (ResourceHandleCurl.cpp)
https://bugs.webkit.org/show_bug.cgi?id=28802
Summary
Remove ASSERT(frame) in ResourceHandle::start (ResourceHandleCurl.cpp)
Kwang Yul Seo
Reported
2009-08-28 03:18:43 PDT
bool ResourceHandle::start(Frame* frame) { ASSERT(frame); ResourceHandleManager::sharedInstance()->add(this); return true; } Remove ASSERT in the first line because the frame could be null if the ResourceHandle is not associated with any frame, e.g. if we are downloading a file. ResourceHandleSoup.cpp handles this case. Follow what ResourceHandleSoup.cpp does.
Attachments
Remove ASSERT(frame)
(1.72 KB, patch)
2009-08-28 03:25 PDT
,
Kwang Yul Seo
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Kwang Yul Seo
Comment 1
2009-08-28 03:25:29 PDT
Created
attachment 38726
[details]
Remove ASSERT(frame) Follow what ResourceHandleSoup does.
Eric Seidel (no email)
Comment 2
2009-08-31 03:32:37 PDT
Comment on
attachment 38726
[details]
Remove ASSERT(frame) Mac has: if (!frame) return false; Win does: // If we are no longer attached to a Page, this must be an attempted load from an // onUnload handler, so let's just block it. if (!frame->page()) return false; Somebody is wrong here. I'll CC bradee.
Eric Seidel (no email)
Comment 3
2009-08-31 03:33:51 PDT
Brady, see comment above about discrepancy between Mac/Win.
Eric Seidel (no email)
Comment 4
2009-08-31 03:45:15 PDT
Comment on
attachment 38726
[details]
Remove ASSERT(frame) Clearing flags on attachment: 38726 Committed
r47888
: <
http://trac.webkit.org/changeset/47888
>
Eric Seidel (no email)
Comment 5
2009-08-31 03:45:18 PDT
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