1
0
mirror of https://github.com/salvadordf/CEF4Delphi.git synced 2025-09-30 21:28:55 +02:00

Updated TCefClearDataStorageTypes values
Some checks failed
Make / build (ubuntu-latest) (push) Has been cancelled

Improved documentation for TCefClearDataStorageTypes
Improved documentation for TChromiumCore.ClearDataForOrigin
This commit is contained in:
Salvador Díaz Fau
2025-09-26 17:06:39 +02:00
parent 4a33371558
commit 774e1d8c58
6 changed files with 36 additions and 7 deletions

Binary file not shown.

View File

@@ -9255,6 +9255,12 @@ Custom</p>
<tr><td colspan="2"> <tr><td colspan="2">
<p> <p>
This procedure calls the Storage.clearDataForOrigin DevTools method to clear the storage data for a given origin. </p> This procedure calls the Storage.clearDataForOrigin DevTools method to clear the storage data for a given origin. </p>
<p>
<p>&lt;see href=&quot;<a href="https://chromedevtools.github.io/devtools-protocol/tot/Storage/#method-clearDataForOrigin">https://chromedevtools.github.io/devtools-protocol/tot/Storage/#method-clearDataForOrigin</a>&quot;&gt;See the documentation for the Storage.clearDataForOrigin DevTools method.)
<p>&lt;see href=&quot;<a href="https://chromedevtools.github.io/devtools-protocol/tot/Storage/#type-StorageType">https://chromedevtools.github.io/devtools-protocol/tot/Storage/#type-StorageType</a>&quot;&gt;See the documentation for the Storage.StorageType type.)</p>
</td></tr> </td></tr>
</table> </table>
<table class="detail wide_list"> <table class="detail wide_list">

View File

@@ -4724,11 +4724,13 @@ Ranges:
<tr><td colspan="1"> <tr><td colspan="1">
<p> <p>
Storage types used by the Storage.clearDataForOrigin DevTools method in TChromiumCore.ClearDataForOrigin. </p> Storage types used by the Storage.clearDataForOrigin DevTools method in TChromiumCore.ClearDataForOrigin. </p>
<p>
<p>&lt;see href=&quot;<a href="https://chromedevtools.github.io/devtools-protocol/tot/Storage/#type-StorageType">https://chromedevtools.github.io/devtools-protocol/tot/Storage/#type-StorageType</a>&quot;&gt;See the documentation for the Storage.StorageType type.)</p>
<h6 class="description_section">Values</h6> <h6 class="description_section">Values</h6>
<ul> <ul>
<li> <li>
<span id="cdstAppCache">cdstAppCache</span></li>
<li>
<span id="cdstCookies">cdstCookies</span></li> <span id="cdstCookies">cdstCookies</span></li>
<li> <li>
<span id="cdstFileSystems">cdstFileSystems</span></li> <span id="cdstFileSystems">cdstFileSystems</span></li>
@@ -4745,7 +4747,15 @@ Ranges:
<li> <li>
<span id="cdstCacheStorage">cdstCacheStorage</span></li> <span id="cdstCacheStorage">cdstCacheStorage</span></li>
<li> <li>
<span id="cdstInterestGroups">cdstInterestGroups</span></li>
<li>
<span id="cdstSharedStorage">cdstSharedStorage</span></li>
<li>
<span id="cdstStorageBuckets">cdstStorageBuckets</span></li>
<li>
<span id="cdstAll">cdstAll</span></li> <span id="cdstAll">cdstAll</span></li>
<li>
<span id="cdstOther">cdstOther</span></li>
</ul> </ul>
</td></tr> </td></tr>
</table> </table>

View File

@@ -1136,6 +1136,10 @@ type
/// <summary> /// <summary>
/// This procedure calls the Storage.clearDataForOrigin DevTools method to clear the storage data for a given origin. /// This procedure calls the Storage.clearDataForOrigin DevTools method to clear the storage data for a given origin.
/// </summary> /// </summary>
/// <remarks>
/// <para><see href="https://chromedevtools.github.io/devtools-protocol/tot/Storage/#method-clearDataForOrigin">See the documentation for the Storage.clearDataForOrigin DevTools method.</see></para>
/// <para><see href="https://chromedevtools.github.io/devtools-protocol/tot/Storage/#type-StorageType">See the documentation for the Storage.StorageType type.</see></para>
/// </remarks>
procedure ClearDataForOrigin(const aOrigin : ustring; aStorageTypes : TCefClearDataStorageTypes = cdstAll); procedure ClearDataForOrigin(const aOrigin : ustring; aStorageTypes : TCefClearDataStorageTypes = cdstAll);
/// <summary> /// <summary>
/// This procedure calls the Network.clearBrowserCache DevTools method to clear the cache data. /// This procedure calls the Network.clearBrowserCache DevTools method to clear the cache data.
@@ -6534,7 +6538,6 @@ begin
TempParams.SetString('origin', aOrigin); TempParams.SetString('origin', aOrigin);
case aStorageTypes of case aStorageTypes of
cdstAppCache : TempParams.SetString('storageTypes', 'appcache');
cdstCookies : TempParams.SetString('storageTypes', 'cookies'); cdstCookies : TempParams.SetString('storageTypes', 'cookies');
cdstFileSystems : TempParams.SetString('storageTypes', 'file_systems'); cdstFileSystems : TempParams.SetString('storageTypes', 'file_systems');
cdstIndexeddb : TempParams.SetString('storageTypes', 'indexeddb'); cdstIndexeddb : TempParams.SetString('storageTypes', 'indexeddb');
@@ -6543,6 +6546,10 @@ begin
cdstWebsql : TempParams.SetString('storageTypes', 'websql'); cdstWebsql : TempParams.SetString('storageTypes', 'websql');
cdstServiceWorkers : TempParams.SetString('storageTypes', 'service_workers'); cdstServiceWorkers : TempParams.SetString('storageTypes', 'service_workers');
cdstCacheStorage : TempParams.SetString('storageTypes', 'cache_storage'); cdstCacheStorage : TempParams.SetString('storageTypes', 'cache_storage');
cdstInterestGroups : TempParams.SetString('storageTypes', 'interest_groups');
cdstSharedStorage : TempParams.SetString('storageTypes', 'shared_storage');
cdstStorageBuckets : TempParams.SetString('storageTypes', 'storage_buckets');
cdstOther : TempParams.SetString('storageTypes', 'other');
else TempParams.SetString('storageTypes', 'all'); else TempParams.SetString('storageTypes', 'all');
end; end;

View File

@@ -1355,8 +1355,10 @@ type
/// <summary> /// <summary>
/// Storage types used by the Storage.clearDataForOrigin DevTools method in TChromiumCore.ClearDataForOrigin. /// Storage types used by the Storage.clearDataForOrigin DevTools method in TChromiumCore.ClearDataForOrigin.
/// </summary> /// </summary>
TCefClearDataStorageTypes = (cdstAppCache, /// <remarks>
cdstCookies, /// <para><see href="https://chromedevtools.github.io/devtools-protocol/tot/Storage/#type-StorageType">See the documentation for the Storage.StorageType type.</see></para>
/// </remarks>
TCefClearDataStorageTypes = (cdstCookies,
cdstFileSystems, cdstFileSystems,
cdstIndexeddb, cdstIndexeddb,
cdstLocalStorage, cdstLocalStorage,
@@ -1364,7 +1366,11 @@ type
cdstWebsql, cdstWebsql,
cdstServiceWorkers, cdstServiceWorkers,
cdstCacheStorage, cdstCacheStorage,
cdstAll); cdstInterestGroups,
cdstSharedStorage,
cdstStorageBuckets,
cdstAll,
cdstOther);
/// <summary> /// <summary>
/// Autoplay policy types used by TCefApplicationCore.AutoplayPolicy. See the --autoplay-policy switch. /// Autoplay policy types used by TCefApplicationCore.AutoplayPolicy. See the --autoplay-policy switch.

View File

@@ -2,7 +2,7 @@
"UpdateLazPackages" : [ "UpdateLazPackages" : [
{ {
"ForceNotify" : true, "ForceNotify" : true,
"InternalVersion" : 792, "InternalVersion" : 793,
"Name" : "cef4delphi_lazarus.lpk", "Name" : "cef4delphi_lazarus.lpk",
"Version" : "140.1.14" "Version" : "140.1.14"
} }