Bug 115530

Summary: REGRESSION (149389) Main resources converted to downloads are immediately cancelled
Product: WebKit Reporter: Brady Eidson <beidson>
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: ap
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: All   

Description Brady Eidson 2013-05-02 14:57:44 PDT
REGRESSION (149389) Main resources converted to downloads are immediately cancelled

The NetworkResourceLoader needs to know its handle should not be cancelled.

In radar as <rdar://problem/13795795>
Comment 1 Brady Eidson 2013-05-02 15:11:55 PDT
I tried a patch that clears m_handle and keeps track of the ref()/deref() self state via a new bool, but because of the threading involved that ran into bizarre problems we don't have time to explore right now.

Prepping a patch that is probably a little worse but definitely works.
Comment 2 Brady Eidson 2013-05-02 15:21:09 PDT
Alexey reviewed this patch over my shoulder.  Landing soon.
Comment 3 Brady Eidson 2013-05-02 15:22:42 PDT
http://trac.webkit.org/changeset/149499