toolkit/mozapps/preferences/ocsp.xul

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/toolkit/mozapps/preferences/ocsp.xul	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,38 @@
     1.4 +<?xml version="1.0"?>
     1.5 +
     1.6 +<!-- This Source Code Form is subject to the terms of the Mozilla Public
     1.7 +   - License, v. 2.0. If a copy of the MPL was not distributed with this
     1.8 +   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
     1.9 +
    1.10 +<?xml-stylesheet href="chrome://global/skin/"?>
    1.11 +
    1.12 +<!DOCTYPE prefwindow [
    1.13 +  <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
    1.14 +  <!ENTITY % ocspDTD SYSTEM "chrome://mozapps/locale/preferences/ocsp.dtd">
    1.15 +  %brandDTD;
    1.16 +  %ocspDTD;
    1.17 +]>
    1.18 +
    1.19 +<prefwindow id="OCSPDialog" type="child"
    1.20 +            xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
    1.21 +            dlgbuttons="accept,cancel"
    1.22 +            title="&ocspDialog.title;">
    1.23 +
    1.24 +  <prefpane id="OCSPDialogPane" onpaneload="gOCSPDialog._updateUI(0)">
    1.25 +    <script type="application/javascript" src="chrome://mozapps/content/preferences/ocsp.js"/>
    1.26 +
    1.27 +    <preferences>
    1.28 +      <preference id="security.OCSP.enabled"    name="security.OCSP.enabled"   type="int"/>
    1.29 +      <preference id="security.OCSP.require"    name="security.OCSP.require"   type="bool"/>
    1.30 +    </preferences>
    1.31 +    
    1.32 +    <checkbox id="enableOCSP"
    1.33 +              label="&enableOCSP.label;"
    1.34 +              accesskey="&enableOCSP.accesskey;"
    1.35 +              oncommand="gOCSPDialog._updateUI(1)"/>
    1.36 +    <checkbox id="requireOCSP"
    1.37 +              preference="security.OCSP.require"
    1.38 +              label="&requireOCSP.label;"
    1.39 +              accesskey="&requireOCSP.accesskey;"/>
    1.40 +  </prefpane>
    1.41 +</prefwindow>

mercurial