Bug 126291

Summary: [SOUP] Implement ResourceHandle::continueWillSendRequest()
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: PlatformAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: danw, gustavo, svillar
Priority: P2 Keywords: Soup
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 126290    
Bug Blocks: 126114    
Attachments:
Description Flags
Patch mrobinson: review+

Description Carlos Garcia Campos 2013-12-30 08:10:24 PST
This is needed to support willSendRequest() after a redirection when using network process.

$ WEBKIT_USE_NETWORK_PROCESS=1 Programs/WebKit2APITests/TestResources -p /webkit2/WebKitWebPage/send-request
/webkit2/WebKitWebPage/send-request: **
ERROR:../../Source/WebKit2/UIProcess/API/gtk/tests/TestResources.cpp:585:virtual void SendRequestTest::resourceFailed(WebKitWebResource*, GError*): assertion failed (webkit_web_resource_get_uri(resource) == m_expectedCancelledResourceURI.data()): ("http://127.0.0.1:41610/javascript.js" == "http://127.0.0.1:41610/cancel-this.js")

This is the result of the test after applying patch attached to bug #126290
Comment 1 Carlos Garcia Campos 2013-12-30 08:13:09 PST
Created attachment 220110 [details]
Patch
Comment 2 Carlos Garcia Campos 2013-12-30 08:13:46 PST
$ WEBKIT_USE_NETWORK_PROCESS=1 Programs/WebKit2APITests/TestResources -p /webkit2/WebKitWebPage/send-request
/webkit2/WebKitWebPage/send-request: OK
Comment 3 Carlos Garcia Campos 2013-12-31 00:26:54 PST
Committed r161177: <http://trac.webkit.org/changeset/161177>