| Summary: | [GTK][WPE] Add API to configure and handle DOM cache to WebKitWebsiteDataManager | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Carlos Garcia Campos <cgarcia> | ||||
| Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | aperez, berto, bugs-noreply, ews-watchlist, gustavo | ||||
| Priority: | P2 | Keywords: | Gtk | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 213340 | ||||||
| Attachments: |
|
||||||
|
Description
Carlos Garcia Campos
2020-06-18 05:13:05 PDT
Created attachment 402201 [details]
Patch
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 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” 🤔️ (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. (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 👍️ Committed r263386: <https://trac.webkit.org/changeset/263386> |