[Webkit-unassigned] [Bug 35689] New: ResourceLoader should call cancel() on ResourceHandle after clearing its client

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 3 09:30:44 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=35689

           Summary: ResourceLoader should call cancel() on ResourceHandle
                    after clearing its client
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Page Loading
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: yong.li.webkit at gmail.com
                CC: staikos at kde.org


As done in ApplicationCacheGroup.cpp:

        m_manifestHandle->setClient(0);
        m_manifestHandle->cancel();
        m_manifestHandle = 0;

ResourceLoader should also call cancel() on the handle after clearing its
client, because the job is supposed to be canceled at this point, and
setClient(0) does nothing but zeroing m_client. 

Patch is following

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list