[Webkit-unassigned] [Bug 123458] [GTK] Put cache files in XDG_CACHE_HOME

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 12 01:49:42 PST 2013


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





--- Comment #3 from Enrique OcaƱa <eocanha at igalia.com>  2013-12-12 01:47:54 PST ---
BTW, found more places where XDG_DATA_HOME is used, but they seem to be persistent data that shouldn't be moved to cache:

$ git grep g_get_user_data_dir
Source/WebKit/gtk/webkit/webkitglobals.cpp:    GOwnPtr<gchar> databaseDirectory(g_build_filename(g_get_user_data_dir(), "webkit", "databases", NULL));
Source/WebKit/gtk/webkit/webkitglobals.cpp:    GOwnPtr<gchar> iconDatabasePath(g_build_filename(g_get_user_data_dir(), "webkit", "icondatabase", NULL));
Source/WebKit/gtk/webkit/webkitwebsettings.cpp:    GOwnPtr<gchar> localStoragePath(g_build_filename(g_get_user_data_dir(), "webkit", "databases", NULL));
Source/WebKit2/UIProcess/API/gtk/WebKitWebContext.cpp: * default directory for the platform (see g_get_user_data_dir()).
Source/WebKit2/UIProcess/gtk/WebContextGtk.cpp:    GOwnPtr<gchar> databaseDirectory(g_build_filename(g_get_user_data_dir(), "webkitgtk", "databases", NULL));
Source/WebKit2/UIProcess/gtk/WebContextGtk.cpp:    GOwnPtr<gchar> databaseDirectory(g_build_filename(g_get_user_data_dir(), "webkitgtk", "icondatabase", NULL));
Source/WebKit2/UIProcess/gtk/WebContextGtk.cpp:    GOwnPtr<gchar> storageDirectory(g_build_filename(g_get_user_data_dir(), "webkitgtk", "localstorage", NULL));
Tools/DumpRenderTree/gtk/DumpRenderTree.cpp:    GOwnPtr<gchar> localStoragePath(g_build_filename(g_get_user_data_dir(), "DumpRenderTreeGtk", "databases", NULL));
Tools/DumpRenderTree/gtk/DumpRenderTree.cpp:    GOwnPtr<char> fallback(g_build_filename(g_get_user_data_dir(), "gtkwebkitdrt", "databases", NULL));
Tools/GtkLauncher/main.c:    iconDatabasePath = g_build_filename(g_get_user_data_dir(), "webkit", "icondatabase", NULL);

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