Bug 1438788 - Remove unused and broken Password Manager in SeaMonkey. r=stefanh a=IanN
authorFrank-Rainer Grahl <frgrahl@gmx.net>
Sun, 08 Apr 2018 21:41:01 +0200
changeset 28200 058a2693dd9184447466f01f9717b303ab64a3cb
parent 28199 5783f54900976c5342bc35c4232ccda6037e0440
child 28201 b6f9440aa86a5cf49a2e47d762817b4f02251581
push id2059
push userfrgrahl@gmx.net
push dateSun, 08 Apr 2018 19:44:21 +0000
treeherdercomm-esr52@058a2693dd91 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersstefanh, IanN
bugs1438788
Bug 1438788 - Remove unused and broken Password Manager in SeaMonkey. r=stefanh a=IanN
suite/common/jar.mn
suite/common/passwordManager.xul
suite/locales/en-US/chrome/common/passwordManager.dtd
suite/locales/jar.mn
--- a/suite/common/jar.mn
+++ b/suite/common/jar.mn
@@ -73,17 +73,16 @@ comm.jar:
    content/communicator/helpMessengerOverlay.xul
    content/communicator/helpSecurityOverlay.xul
    content/communicator/labelsencodings.properties                  (/mozilla/dom/encoding/labelsencodings.properties)
 # the following file is a suite-specific override of the generic license.html, using suite/common/app-license.html as input:
 *  content/communicator/license.html                                (/mozilla/toolkit/content/license.html)
    content/communicator/nsContextMenu.js
    content/communicator/openLocation.js
    content/communicator/openLocation.xul
-   content/communicator/passwordManager.xul
    content/communicator/safeMode.js
    content/communicator/safeMode.xul
    content/communicator/sanitize.xul
    content/communicator/setDesktopBackground.js
    content/communicator/setDesktopBackground.xul
    content/communicator/tasksOverlay.js
    content/communicator/tasksOverlay.xul
    content/communicator/utilityOverlay.js
deleted file mode 100644
--- a/suite/common/passwordManager.xul
+++ /dev/null
@@ -1,132 +0,0 @@
-<?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://communicator/skin/" type="text/css"?>
-
-<!DOCTYPE dialog [
-<!ENTITY % managerDTD SYSTEM "chrome://communicator/locale/passwordManager.dtd">
-%managerDTD;
-<!ENTITY % mgrDTD SYSTEM "chrome://passwordmgr/locale/passwordManager.dtd">
-%mgrDTD;
-]>
-
-<dialog id="SignonViewerDialog"
-        windowtype="Toolkit:PasswordManager"
-        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
-        buttons="accept,help"
-        buttonlabelaccept="&closebutton.label;"
-        onload="Startup(); SignonsStartup(); RejectsStartup();"
-        onunload="Shutdown();"
-        ondialoghelp="openHelp('password_mgr', 'chrome://communicator/locale/help/suitehelp.rdf');"
-        title="&windowtitle.label;"
-        persist="width height screenX screenY">
-
-  <script type="application/javascript"
-          src="chrome://passwordmgr/content/passwordManagerCommon.js"/>
-  <script type="application/javascript"
-          src="chrome://passwordmgr/content/passwordManager.js"/>
-  <script type="application/javascript"
-          src="chrome://passwordmgr/content/passwordManagerExceptions.js"/>
-  <script type="application/javascript"
-          src="chrome://help/content/contextHelp.js"/>
-
-  <stringbundle id="signonBundle"
-                src="chrome://passwordmgr/locale/passwordmgr.properties"/>
-  <keyset>
-    <key key="&windowClose.key;" modifiers="accel" oncommand="window.close();"/>
-    <key key="&focusSearch1.key;" modifiers="accel"
-         oncommand="if (document.getElementById('signonsTab').selected) FocusFilterBox();"/>
-  </keyset>
-
-  <popupset id="signonsTreeContextSet">
-    <menupopup id="signonsTreeContextMenu"
-               onpopupshowing="UpdateCopyPassword();">
-      <menuitem id="context-copypassword"
-                label="&copyPasswordCmd.label;"
-                accesskey="&copyPasswordCmd.accesskey;"
-                oncommand="CopyPassword();"/>
-    </menupopup>
-  </popupset>
-
-  <tabbox flex="1">
-    <tabs>
-      <tab id="signonsTab" label="&tab.signonsstored.label;"/>
-      <tab id="signonsitesTab" label="&tab.signonsnotstored.label;"/>
-    </tabs>
-    <tabpanels flex="1">
-
-    <!-- saved signons -->
-      <vbox id="savedsignons" flex="1">
-        <!-- filter -->
-        <hbox align="center">
-          <textbox id="filter" flex="1" type="search"
-                   aria-controls="signonsTree"
-                   placeholder="&search.placeholder;"
-                   oncommand="_filterPasswords();"/>
-        </hbox>
-        <separator class="thin"/>
-
-        <label control="signonsTree" id="signonsIntro"/>
-        <separator class="thin"/>
-        <tree id="signonsTree" flex="1"
-              style="height: 20em;" hidecolumnpicker="true"
-              onkeypress="HandleSignonKeyPress(event)"
-              onselect="SignonSelected();"
-              context="signonsTreeContextMenu">
-          <treecols>
-            <treecol id="siteCol" label="&treehead.site.label;" flex="5"
-                     onclick="SignonColumnSort('hostname');"
-                     persist="width" sortDirection="ascending"/>
-            <splitter class="tree-splitter"/>
-            <treecol id="userCol" label="&treehead.username.label;" flex="2"
-                     onclick="SignonColumnSort('username');" persist="width"/>
-            <splitter class="tree-splitter"/>
-            <treecol id="passwordCol" label="&treehead.password.label;" flex="2"
-                     onclick="SignonColumnSort('password');" persist="width"
-                     hidden="true"/>
-          </treecols>
-          <treechildren/>
-        </tree>
-        <separator class="thin"/>
-        <hbox id="SignonViewerButtons">
-          <button id="removeSignon" disabled="true" icon="remove"
-                  label="&remove.label;" accesskey="&remove.accesskey;"
-                  oncommand="DeleteSignon();"/>
-          <button id="removeAllSignons" icon="clear"
-                  label="&removeall.label;" accesskey="&removeall.accesskey;"
-                  oncommand="DeleteAllSignons();"/>
-          <spacer flex="1"/>
-          <button id="togglePasswords"
-                  oncommand="TogglePasswordVisible();"/>
-        </hbox>
-      </vbox>
-
-      <!-- rejected sites -->
-      <vbox id="rejectedsites" flex="1">
-        <description control="rejectsTree">&loginsSpielExceptions.label;</description>
-        <separator class="thin"/>
-        <tree id="rejectsTree" flex="1" style="height: 20em;" hidecolumnpicker="true"
-              onkeypress="HandleRejectKeyPress(event)"
-              onselect="RejectSelected();">
-          <treecols>
-            <treecol id="rejectCol" label="&treehead.site.label;" flex="5"
-                     onclick="RejectColumnSort('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>
-    </tabpanels>
-  </tabbox>
-</dialog>
deleted file mode 100644
--- a/suite/locales/en-US/chrome/common/passwordManager.dtd
+++ /dev/null
@@ -1,8 +0,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/. -->
-
-<!ENTITY      windowtitle.label               "Password Manager">
-<!ENTITY      tab.signonsstored.label         "Passwords Saved">
-<!ENTITY      tab.signonsnotstored.label      "Passwords Never Saved">
-<!ENTITY      search.placeholder              "Search">
--- a/suite/locales/jar.mn
+++ b/suite/locales/jar.mn
@@ -34,17 +34,16 @@
   locale/@AB_CD@/communicator/defaultClientDialog.dtd                       (%chrome/common/defaultClientDialog.dtd)
   locale/@AB_CD@/communicator/feeds/subscribe.dtd                           (%chrome/common/feeds/subscribe.dtd)
   locale/@AB_CD@/communicator/feeds/subscribe.properties                    (%chrome/common/feeds/subscribe.properties)
   locale/@AB_CD@/communicator/gopherAddon.dtd                               (%chrome/common/gopherAddon.dtd)
   locale/@AB_CD@/communicator/notification.dtd                              (%chrome/common/notification.dtd)
   locale/@AB_CD@/communicator/notification.properties                       (%chrome/common/notification.properties)
   locale/@AB_CD@/communicator/openLocation.dtd                              (%chrome/common/openLocation.dtd)
   locale/@AB_CD@/communicator/openLocation.properties                       (%chrome/common/openLocation.properties)
-  locale/@AB_CD@/communicator/passwordManager.dtd                           (%chrome/common/passwordManager.dtd)
   locale/@AB_CD@/communicator/printPreview.dtd                              (%chrome/common/printPreview.dtd)
   locale/@AB_CD@/communicator/safeBrowsing.dtd                              (%chrome/common/safeBrowsing.dtd)
   locale/@AB_CD@/communicator/quitDialog.properties                         (%chrome/common/quitDialog.properties)
   locale/@AB_CD@/communicator/shellservice.properties                       (%chrome/common/shellservice.properties)
   locale/@AB_CD@/communicator/sanitize.dtd                                  (%chrome/common/sanitize.dtd)
   locale/@AB_CD@/communicator/setDesktopBackground.dtd                      (%chrome/common/setDesktopBackground.dtd)
   locale/@AB_CD@/communicator/tasksOverlay.dtd                              (%chrome/common/tasksOverlay.dtd)
   locale/@AB_CD@/communicator/typeaheadfind.properties                      (%chrome/common/typeaheadfind.properties)