RESOLVED FIXED 213337
[GTK][WPE] Add API to configure and handle DOM cache to WebKitWebsiteDataManager
https://bugs.webkit.org/show_bug.cgi?id=213337
Summary [GTK][WPE] Add API to configure and handle DOM cache to WebKitWebsiteDataManager
Carlos Garcia Campos
Reported 2020-06-18 05:13:05 PDT
The default path is always used.
Attachments
Patch (24.94 KB, patch)
2020-06-18 05:30 PDT, Carlos Garcia Campos
aperez: review+
Carlos Garcia Campos
Comment 1 2020-06-18 05:30:26 PDT
EWS Watchlist
Comment 2 2020-06-18 05:31:03 PDT
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Adrian Perez
Comment 3 2020-06-22 00:56:42 PDT
Comment on attachment 402201 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=402201&action=review > Source/WebKit/UIProcess/API/glib/WebKitWebsiteDataManager.cpp:241 > + priv->domCacheDirectory.reset(g_build_filename(priv->baseCacheDirectory.get(), "CacheStorage", nullptr)); I wonder why this is “CamelCase” while the other directories are “allsmallcaps” 🤔️
Carlos Garcia Campos
Comment 4 2020-06-22 01:25:12 PDT
(In reply to Adrian Perez from comment #3) > Comment on attachment 402201 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=402201&action=review > > > Source/WebKit/UIProcess/API/glib/WebKitWebsiteDataManager.cpp:241 > > + priv->domCacheDirectory.reset(g_build_filename(priv->baseCacheDirectory.get(), "CacheStorage", nullptr)); > > I wonder why this is “CamelCase” while the other directories > are “allsmallcaps” 🤔️ Because it's consistent with the default directory name.
Adrian Perez
Comment 5 2020-06-22 01:47:02 PDT
(In reply to Carlos Garcia Campos from comment #4) > (In reply to Adrian Perez from comment #3) > > Comment on attachment 402201 [details] > > Patch > > > > View in context: > > https://bugs.webkit.org/attachment.cgi?id=402201&action=review > > > > > Source/WebKit/UIProcess/API/glib/WebKitWebsiteDataManager.cpp:241 > > > + priv->domCacheDirectory.reset(g_build_filename(priv->baseCacheDirectory.get(), "CacheStorage", nullptr)); > > > > I wonder why this is “CamelCase” while the other directories > > are “allsmallcaps” 🤔️ > > Because it's consistent with the default directory name. Aye, no more questions then, let's land this 👍️
Carlos Garcia Campos
Comment 6 2020-06-22 22:49:33 PDT
Note You need to log in before you can comment on or make changes to this bug.