add missing externs to repo

This commit is contained in:
2024-10-13 17:40:46 -05:00
parent b211bc0c4b
commit 2b6830784c
554 changed files with 13165 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
package webextension_polyfill.namespaces.privacy_network.privacynetwork;
/**
The mode for https-only mode.
**/
typedef HTTPSOnlyModeOption = String;

View File

@@ -0,0 +1,6 @@
package webextension_polyfill.namespaces.privacy_network.privacynetwork;
/**
The IP handling policy of WebRTC.
**/
typedef IPHandlingPolicy = String;

View File

@@ -0,0 +1,35 @@
package webextension_polyfill.namespaces.privacy_network.privacynetwork;
typedef Static = {
/**
If enabled, the browser attempts to speed up your web browsing experience by pre-resolving DNS entries,
prerendering sites (<code>&lt;link rel='prefetch' ...&gt;</code>), and preemptively opening TCP and SSL connections to
servers. This preference's value is a boolean, defaulting to <code>true</code>.
**/
var networkPredictionEnabled : webextension_polyfill.types.Setting;
/**
Allow users to enable and disable RTCPeerConnections (aka WebRTC).
**/
var peerConnectionEnabled : webextension_polyfill.types.Setting;
/**
Allow users to specify the media performance/privacy tradeoffs which impacts how WebRTC traffic will be routed and how
much local address information is exposed. This preference's value is of type IPHandlingPolicy, defaulting to <code>
default</code>.
**/
var webRTCIPHandlingPolicy : webextension_polyfill.types.Setting;
/**
This property controls the minimum and maximum TLS versions. This setting's value is an object of
$(ref:tlsVersionRestrictionConfig).
**/
var tlsVersionRestriction : webextension_polyfill.types.Setting;
/**
Allow users to query the mode for 'HTTPS-Only Mode'. This setting's value is of type HTTPSOnlyModeOption,
defaulting to <code>never</code>.
**/
var httpsOnlyMode : webextension_polyfill.types.Setting;
/**
Allow users to query the status of 'Global Privacy Control'. This setting's value is of type boolean,
defaulting to <code>false</code>.
**/
var globalPrivacyControl : webextension_polyfill.types.Setting;
};

View File

@@ -0,0 +1,19 @@
package webextension_polyfill.namespaces.privacy_network.privacynetwork;
/**
An object which describes TLS minimum and maximum versions.
**/
typedef TlsVersionRestrictionConfig = {
/**
The minimum TLS version supported.
Optional.
**/
@:optional
var minimum : webextension_polyfill.webrequest.SecurityInfoProtocolVersionEnum;
/**
The maximum TLS version supported.
Optional.
**/
@:optional
var maximum : webextension_polyfill.webrequest.SecurityInfoProtocolVersionEnum;
};

View File

@@ -0,0 +1,6 @@
package webextension_polyfill.namespaces.privacy_network.privacynetwork;
/**
The maximum TLS version supported.
**/
typedef TlsVersionRestrictionConfigMaximumEnum = webextension_polyfill.webrequest.SecurityInfoProtocolVersionEnum;

View File

@@ -0,0 +1,6 @@
package webextension_polyfill.namespaces.privacy_network.privacynetwork;
/**
The minimum TLS version supported.
**/
typedef TlsVersionRestrictionConfigMinimumEnum = webextension_polyfill.webrequest.SecurityInfoProtocolVersionEnum;