toolkit/components/passwordmgr/content/passwordManagerExceptions.xul
author Mike Conley <mconley@mozilla.com>
Fri, 10 Apr 2015 13:45:22 -0400
changeset 257771 40a21375b99be21a55df2a7c415ccf240715922f
parent 254228 817390369f571b684fb6e66a495b42f9a687720a
child 284151 5499c3c60b043dcfcea32eb3e45c8367426bd17a
permissions -rw-r--r--
Bug 1152864 - Disable unsafe CPOW warnings when running mochitests by default, and add option to re-enable. r=ahal. --enable-cpow-warnings can now be passed when running a mochitest to re-enable the warnings, should one wish to do that.

<?xml version="1.0"?> <!-- -*- Mode: SGML; indent-tabs-mode: nil -*- -->

<!-- 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/" type="text/css"?>

<!DOCTYPE dialog SYSTEM "chrome://passwordmgr/locale/passwordManager.dtd" >

<prefwindow id="SignonViewerExceptionDialog"
            windowtype="Toolkit:PasswordManagerExceptions"
            xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
            buttons="accept"
            buttonlabelaccept="&closebutton.label;"
            onload="Startup(); RejectsStartup();"
            onunload="Shutdown();"
            title="&savedPasswordsExceptions.title;"
            persist="width height screenX screenY">

  <prefpane id="SignonViewerDialogPane" flex="1">
    <script type="application/javascript" src="chrome://passwordmgr/content/passwordManagerCommon.js"/>
    <script type="application/javascript" src="chrome://passwordmgr/content/passwordManagerExceptions.js"/>

    <vbox id="rejectedsites" flex="1">
        <description control="rejectsTree">&loginsSpielExceptions.label;</description>
        <separator class="thin"/>
        <tree id="rejectsTree" flex="1" style="height: 10em;" hidecolumnpicker="true"
              onkeypress="HandleRejectKeyPress(event)"
              onselect="RejectSelected();">
          <treecols>
            <treecol id="rejectCol" label="&treehead.site.label;" flex="5"
                     data-field-name="host" sortDirection="ascending"/>
          </treecols>
          <treechildren/>
        </tree>
        <separator class="thin"/>
        <hbox>
          <button id="removeReject" disabled="true" icon="remove"
                  accesskey="&remove.accesskey;"
                  label="&remove.label;" oncommand="DeleteReject();"/>
          <button id="removeAllRejects"
                  accesskey="&removeall.accesskey;"
                  icon="clear" label="&removeall.label;"
                  oncommand="DeleteAllRejects();"/>
        </hbox>
    </vbox>
  </prefpane>
</prefwindow>