[Webkit-unassigned] [Bug 50004] [GTK] Need 'webview-cache-model' property in WebKitWebSettings

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 24 17:11:41 PST 2010


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





--- Comment #7 from Joone Hur <joone at kldp.org>  2010-11-24 17:11:42 PST ---

> > Also, if the users want to set WEBKIT_CACHE_MODEL_DOCUMENT_VIEWER, the webkit_set_cache_model function should be called twice.
> 
> I don't understand this; why do you have to call it twice?

I mean that we don't need to call it twice in that case. Currently, the cache model is set to WEBKIT_CACHE_MODEL_WEB_BROWSER in webkit_init(), so if we want to set WEBKIT_CACHE_MODEL_DOCUMENT_VIEWER, we have to call webkit_set_cache_model function again. However, if we can set the cache-model in the settings, we just call webkit_set_cache_model() once after getting the cache-model property in didPerformFirstNavigation() because the users can change the cache model through the settings before calling webkit_set_cache_model().

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