1
0
mirror of https://github.com/salvadordf/CEF4Delphi.git synced 2024-11-24 08:02:15 +02:00

Added GlobalCEFApp.DisableSiteIsolationTrials property

This commit is contained in:
Salvador Díaz Fau 2019-12-04 11:15:14 +01:00
parent 4231252493
commit 52cf914bbb
2 changed files with 7 additions and 1 deletions

View File

@ -137,6 +137,7 @@ type
FDisableWebSecurity : boolean;
FDisablePDFExtension : boolean;
FLogProcessInfo : boolean;
FDisableSiteIsolationTrials : boolean;
FEnableFeatures : string;
FDisableFeatures : string;
FEnableBlinkFeatures : string;
@ -403,6 +404,7 @@ type
property SitePerProcess : boolean read FSitePerProcess write FSitePerProcess; // --site-per-process
property DisableWebSecurity : boolean read FDisableWebSecurity write FDisableWebSecurity; // --disable-web-security
property DisablePDFExtension : boolean read FDisablePDFExtension write FDisablePDFExtension; // --disable-pdf-extension
property DisableSiteIsolationTrials : boolean read FDisableSiteIsolationTrials write FDisableSiteIsolationTrials; //--disable-site-isolation-trials
property DisableExtensions : boolean read FDisableExtensions write FDisableExtensions; // --disable-extensions
property AutoplayPolicy : TCefAutoplayPolicy read FAutoplayPolicy write FAutoplayPolicy; // --autoplay-policy
property DisableBackgroundNetworking : boolean read FDisableBackgroundNetworking write FDisableBackgroundNetworking; // --disable-background-networking
@ -629,6 +631,7 @@ begin
FSitePerProcess := False;
FDisableWebSecurity := False;
FDisablePDFExtension := False;
FDisableSiteIsolationTrials := False;
FLogProcessInfo := False;
FReRaiseExceptions := False;
FLibLoaded := False;
@ -1627,6 +1630,9 @@ begin
if FDisablePDFExtension then
commandLine.AppendSwitch('--disable-pdf-extension');
if FDisableSiteIsolationTrials then
commandLine.AppendSwitch('--disable-site-isolation-trials');
if FSitePerProcess then
commandLine.AppendSwitch('--site-per-process');

View File

@ -2,7 +2,7 @@
"UpdateLazPackages" : [
{
"ForceNotify" : true,
"InternalVersion" : 72,
"InternalVersion" : 73,
"Name" : "cef4delphi_lazarus.lpk",
"Version" : "78.3.9.0"
}