toolkit/mozapps/preferences/ocsp.xul
author Gregory Szorc <gps@mozilla.com>
Mon, 07 Jan 2013 00:19:47 -0800
changeset 126961 70e3ad569ac4affdd1accbd25eef64df70b24a2a
parent 120898 65359d53e0db2a44aa72cf80cfefb02ebc403fd6
permissions -rw-r--r--
Bug 718066 - Disable Firefox Health Report build time option; r=mconnor services/healthreport will be omitted from the build. No files will be installed/packaged. No tests will be run.

<?xml version="1.0"?>

<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<?xml-stylesheet href="chrome://global/skin/"?>

<!DOCTYPE prefwindow [
  <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
  <!ENTITY % ocspDTD SYSTEM "chrome://mozapps/locale/preferences/ocsp.dtd">
  %brandDTD;
  %ocspDTD;
]>

<prefwindow id="OCSPDialog" type="child"
            xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
            dlgbuttons="accept,cancel"
            title="&ocspDialog.title;">

  <prefpane id="OCSPDialogPane" onpaneload="gOCSPDialog._updateUI(0)">
    <script type="application/javascript" src="chrome://mozapps/content/preferences/ocsp.js"/>

    <preferences>
      <preference id="security.OCSP.enabled"    name="security.OCSP.enabled"   type="int"/>
      <preference id="security.OCSP.require"    name="security.OCSP.require"   type="bool"/>
    </preferences>
    
    <checkbox id="enableOCSP"
              label="&enableOCSP.label;"
              accesskey="&enableOCSP.accesskey;"
              oncommand="gOCSPDialog._updateUI(1)"/>
    <checkbox id="requireOCSP"
              preference="security.OCSP.require"
              label="&requireOCSP.label;"
              accesskey="&requireOCSP.accesskey;"/>
  </prefpane>
</prefwindow>