Add GUI control to Pale Moon for opportunistic encryption.

Pale Moon part for #863.
This commit is contained in:
wolfbeast 2018-11-04 17:59:16 +01:00 committed by Roy Tam
commit 58b93e265b
2 changed files with 10 additions and 0 deletions

View file

@ -49,6 +49,10 @@
<preference id="security.cert_pinning.enforcement_level"
name="security.cert_pinning.enforcement_level"
type="int"/>
<preference id="network.http.opportunistic-encryption"
name="network.http.opportunistic-encryption"
type="bool"/>
<!-- XSS Filter -->
<!--
@ -144,6 +148,10 @@
oncommand="gSecurityPane.updateHPKPPref();"/>
</vbox>
</groupbox>
<checkbox id="enableOpEnc"
label="&enableOpEnc.label;"
preference="network.http.opportunistic-encryption" />
<!-- XSS Filter -->
<!--

View file

@ -40,6 +40,8 @@
<!ENTITY enableHPKP.label "Enable Certificate Key Pinning (HPKP)">
<!ENTITY enableHPKP.accesskey "C">
<!ENTITY enableOpEnc.label "Enable Opportunistic Encryption">
<!ENTITY XSSFilt.label "XSS Filter">
<!ENTITY enableXSSFilt.label "Enable XSS filter">
<!ENTITY enableXSSFilt.accesskey "f">