browserSettings.tlsVersionRestrictionConfig
A BrowserSetting
object used to read the highest and lowest versions of TLS supported by the browser.
The object has these properties:
minimum
-
The lowest TLS version supported by the browser. Valid values are
TLSv1
,TLSv1.1
,TLSv1.2
,TLSv1.3
, andunknown
. maximum
-
The highest TLS version supported by the browser. Valid values are
TLSv1
,TLSv1.1
,TLSv1.2
,TLSv1.3
, andunknown
.
This is a read-only setting.
Browser compatibility
Report problems with this compatibility data on GitHubdesktop | mobile | ||||||
---|---|---|---|---|---|---|---|
tlsVersionRestrictionConfig |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Examples
Get the highest TLS version supported by the browser:
js
browser.browserSettings.tlsVersionRestrictionConfig.maximum
.get({})
.then((result) => {
console.log(`Highest TLS version supported: ${result}`);
});