add fingerprinting configuration
This commit is contained in:
@@ -94,4 +94,10 @@ class GeckoEngineSettingsService {
|
||||
Future<void> dohSettings(DohSettings state) {
|
||||
return _api.updateRuntimeSettings(GeckoEngineSettings(dohSettings: state));
|
||||
}
|
||||
|
||||
Future<void> fingerprintingProtectionOverrides(String? state) {
|
||||
return _api.updateRuntimeSettings(
|
||||
GeckoEngineSettings(fingerprintingProtectionOverrides: state),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2043,6 +2043,7 @@ class GeckoEngineSettings {
|
||||
this.contentBlocking,
|
||||
this.enterpriseRootsEnabled,
|
||||
this.dohSettings,
|
||||
this.fingerprintingProtectionOverrides,
|
||||
});
|
||||
|
||||
bool? javascriptEnabled;
|
||||
@@ -2073,6 +2074,8 @@ class GeckoEngineSettings {
|
||||
|
||||
DohSettings? dohSettings;
|
||||
|
||||
String? fingerprintingProtectionOverrides;
|
||||
|
||||
List<Object?> _toList() {
|
||||
return <Object?>[
|
||||
javascriptEnabled,
|
||||
@@ -2089,6 +2092,7 @@ class GeckoEngineSettings {
|
||||
contentBlocking,
|
||||
enterpriseRootsEnabled,
|
||||
dohSettings,
|
||||
fingerprintingProtectionOverrides,
|
||||
];
|
||||
}
|
||||
|
||||
@@ -2112,6 +2116,7 @@ class GeckoEngineSettings {
|
||||
contentBlocking: result[11] as ContentBlocking?,
|
||||
enterpriseRootsEnabled: result[12] as bool?,
|
||||
dohSettings: result[13] as DohSettings?,
|
||||
fingerprintingProtectionOverrides: result[14] as String?,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user