UNCONFIRMED Bug 27402
Page will never finish loading if ResourceHandle::create() fails
https://bugs.webkit.org/show_bug.cgi?id=27402
Summary Page will never finish loading if ResourceHandle::create() fails
Grace Kloba
Reported 2009-07-17 18:31:34 PDT
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".
Attachments
Note You need to log in before you can comment on or make changes to this bug.