Bug 23619

Summary: ASSERT(!error.isNull()) in DocumentLoader::mainReceivedError() when an SVG image load is cancelled
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: SVGAssignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
proposed patch zimmermann: review+

Description Alexey Proskuryakov 2009-01-29 03:24:56 PST
I'm seeing a random assertion failure when running layout tests due to a recently added assertion:

void DocumentLoader::mainReceivedError(const ResourceError& error, bool isComplete)
{
    ASSERT(!error.isNull());
...

The problem is that EmptyFrameLoaderClient always creates null errors.
Comment 1 Alexey Proskuryakov 2009-01-29 04:02:36 PST
Created attachment 27145 [details]
proposed patch
Comment 2 Nikolas Zimmermann 2009-01-29 13:55:04 PST
Comment on attachment 27145 [details]
proposed patch

Looks sane, if the ChangeLog gets fixed, r=me.
Comment 3 Alexey Proskuryakov 2009-01-29 13:55:37 PST
Committed revision 40374.