[Webkit-unassigned] [Bug 27402] New: Page will never finish loading if ResourceHandle::create() fails
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jul 17 18:31:34 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=27402
Summary: Page will never finish loading if
ResourceHandle::create() fails
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Page Loading
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: klobag at gmail.com
The frame is not completed until all the outstanding requests are finished. In
loader.cpp load(...), it calls incrementRequestCount(). decrementRequestCount()
will be called when a resource is fulled loaded or failed.
In Loader::Host::servePendingRequests(..), SubresourceLoader::create(..) calls
into ResourceLoader::load(..). If ResourceHandle::create(..) fails, it still
returns true.
If this ever happen, the page will always think that there is outstanding
requests.
I don't have a way to reproduce it. But if you can hard code
ResourceHandle::start(..) to return false, you can see the bug.
I think the return of ResourceLoader::load(..) should be "m_handle != NULL".
--
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