[Webkit-unassigned] [Bug 82081] [SOUP] Implement WebFrameNetworkingContext for soup in WebKit2

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 25 07:13:33 PDT 2012


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





--- Comment #3 from Carlos Garcia Campos <cgarcia at igalia.com>  2012-03-25 07:13:33 PST ---
This is not dead code. The frame loader in FrameLoader::init() creates the networking context with 

m_networkingContext = m_client->createNetworkingContext();

In WebKit2 that calls WebFrameLoaderClient::createNetworkingContext() in Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp

That currently uses Source/WebKit2/WebProcess/WebCoreSupport/gtk/WebFrameNetworkingContext.h that always returns NULL. 

This patch moves the implementation to Source/WebKit2/WebProcess/WebCoreSupport/soup/WebFrameNetworkingContext.cpp/h since the implementation is common to all ports using soup, which creates and returns a WebFrameNetworkingContext instead of NULL.

The Networking context is used by CookieJarSoup to get the jar feature of the current soup session. And its also used by ResourceHandleSoup.

So the difference is that the context is not NULL anymore for WebKit2, but a valid one.

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