browser/components/preferences/in-content/security.xul

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/browser/components/preferences/in-content/security.xul	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,102 @@
     1.4 +<!-- This Source Code Form is subject to the terms of the Mozilla Public
     1.5 +   - License, v. 2.0. If a copy of the MPL was not distributed with this file,
     1.6 +   - You can obtain one at http://mozilla.org/MPL/2.0/.  -->
     1.7 +
     1.8 +<script type="application/javascript" 
     1.9 +        src="chrome://browser/content/preferences/in-content/security.js"/>  
    1.10 +
    1.11 +<preferences id="securityPreferences">
    1.12 +  <!-- XXX buttons -->
    1.13 +  <preference id="pref.privacy.disable_button.view_passwords"
    1.14 +              name="pref.privacy.disable_button.view_passwords"
    1.15 +              type="bool"/>
    1.16 +  <preference id="pref.privacy.disable_button.view_passwords_exceptions"
    1.17 +              name="pref.privacy.disable_button.view_passwords_exceptions"
    1.18 +              type="bool"/>
    1.19 +
    1.20 +  <!-- Add-ons, malware, phishing -->
    1.21 +  <preference id="xpinstall.whitelist.required"
    1.22 +              name="xpinstall.whitelist.required"
    1.23 +              type="bool"/>
    1.24 +  <preference id="browser.safebrowsing.malware.enabled"
    1.25 +              name="browser.safebrowsing.malware.enabled"
    1.26 +              type="bool"/>
    1.27 +  <preference id="browser.safebrowsing.enabled"
    1.28 +              name="browser.safebrowsing.enabled"
    1.29 +              type="bool"/>
    1.30 +
    1.31 +  <!-- Passwords -->
    1.32 +  <preference id="signon.rememberSignons" name="signon.rememberSignons" type="bool"/>
    1.33 +
    1.34 +</preferences>
    1.35 +
    1.36 +<hbox id="header-security"
    1.37 +      class="header"
    1.38 +      hidden="true"
    1.39 +      data-category="paneSecurity">
    1.40 +  <image class="header-icon"/>
    1.41 +  <label class="header-name"
    1.42 +         value="&paneSecurity.title;"/>
    1.43 +</hbox>
    1.44 +
    1.45 +<!-- addons, forgery (phishing) UI -->
    1.46 +<groupbox id="addonsPhishingGroup" data-category="paneSecurity" hidden="true">
    1.47 +  <caption label="&general.label;"/>
    1.48 +
    1.49 +  <hbox id="addonInstallBox">
    1.50 +    <checkbox id="warnAddonInstall" flex="1"
    1.51 +              label="&warnAddonInstall.label;"
    1.52 +              accesskey="&warnAddonInstall.accesskey;"
    1.53 +              preference="xpinstall.whitelist.required"
    1.54 +              onsyncfrompreference="return gSecurityPane.readWarnAddonInstall();"/>
    1.55 +    <button id="addonExceptions"
    1.56 +            label="&addonExceptions.label;"
    1.57 +            accesskey="&addonExceptions.accesskey;"
    1.58 +            oncommand="gSecurityPane.showAddonExceptions();"/>
    1.59 +  </hbox>
    1.60 +
    1.61 +  <separator class="thin"/>
    1.62 +  <checkbox id="blockAttackSites"
    1.63 +            label="&blockAttackSites.label;"
    1.64 +            accesskey="&blockAttackSites.accesskey;"
    1.65 +            preference="browser.safebrowsing.malware.enabled" />
    1.66 +  <checkbox id="blockWebForgeries"
    1.67 +            label="&blockWebForgeries.label;"
    1.68 +            accesskey="&blockWebForgeries.accesskey;"
    1.69 +            preference="browser.safebrowsing.enabled" />
    1.70 +</groupbox>
    1.71 +
    1.72 +<!-- Passwords -->
    1.73 +<groupbox id="passwordsGroup" orient="vertical" data-category="paneSecurity" hidden="true">
    1.74 +  <caption label="&passwords.label;"/>
    1.75 +
    1.76 +  <hbox id="savePasswordsBox">
    1.77 +    <checkbox id="savePasswords" flex="1"
    1.78 +              label="&rememberPasswords.label;" accesskey="&rememberPasswords.accesskey;"
    1.79 +              preference="signon.rememberSignons"
    1.80 +              onsyncfrompreference="return gSecurityPane.readSavePasswords();"/>
    1.81 +    <button id="passwordExceptions"
    1.82 +            label="&passwordExceptions.label;"
    1.83 +            accesskey="&passwordExceptions.accesskey;"
    1.84 +            oncommand="gSecurityPane.showPasswordExceptions();"
    1.85 +            preference="pref.privacy.disable_button.view_passwords_exceptions"/>
    1.86 +  </hbox>
    1.87 +  <hbox id="masterPasswordBox">
    1.88 +    <checkbox id="useMasterPassword" flex="1"
    1.89 +              oncommand="gSecurityPane.updateMasterPasswordButton();"
    1.90 +              label="&useMasterPassword.label;"
    1.91 +              accesskey="&useMasterPassword.accesskey;"/>
    1.92 +    <button id="changeMasterPassword"
    1.93 +            label="&changeMasterPassword.label;"
    1.94 +            accesskey="&changeMasterPassword.accesskey;"
    1.95 +            oncommand="gSecurityPane.changeMasterPassword();"/>
    1.96 +  </hbox>
    1.97 +
    1.98 +  <hbox id="showPasswordsBox">
    1.99 +    <spacer flex="1"/>
   1.100 +    <button id="showPasswords"
   1.101 +            label="&savedPasswords.label;" accesskey="&savedPasswords.accesskey;"
   1.102 +            oncommand="gSecurityPane.showPasswords();"
   1.103 +            preference="pref.privacy.disable_button.view_passwords"/>
   1.104 +  </hbox>
   1.105 +</groupbox>

mercurial