[Webkit-unassigned] [Bug 112418] [GTK][WK2] Load get stuck in webkit_web_view_go_back()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 17 04:41:45 PDT 2013


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


Carlos Garcia Campos <cgarcia at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|WebKit Gtk                  |Page Loading
                 CC|                            |beidson at apple.com,
                   |                            |japhet at chromium.org




--- Comment #9 from Carlos Garcia Campos <cgarcia at igalia.com>  2013-03-17 04:44:11 PST ---
The problem is that when the main resource is loaded from the memory cache, the callback assignIdentifierToInitialRequest() is not called, so from the API point of view the main resource load never starts. 

This happens because when the main resource is loaded from the memory cache the response is not added to the ResponseVector of the document loader, so that when committing the provisional load the remaining delegate messages are not called because the ResponseVector of the document loader is empty. When the main resource is loaded from the memory cache, there's no resource loader, and the client is notified about the response using ResourceLoadNotifier::dispatchDidReceiveResponse() directly instead of ResourceLoadNotifier::didReceiveResponse() which is the one adding the response to the ResponseVector of the document loader. So, the problem can be fixed by adding the response to the ResponseVector before calling dispatchDidReceiveResponse() when loading the main resource without a resource loader.

Reassigning to Page Loading since this is a regression in the WebCore loader.

-- 
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