Bug 1596693 - change history.xul and master password file references to xhtml extension instead of xul (following toolkit renames in bug 1596329). r=jorgk
authorMagnus Melin <mkmelin+mozilla@iki.fi>
Fri, 15 Nov 2019 21:37:45 +0200
changeset 36649 e667b9f62b83583094e564bb3640fcaee26fcc8c
parent 36648 0f435d1559190627ecdfa9f8162a9b32275b88b3
child 36650 199eeaba5791cf72a3f6413d3351b1bef49d0786
push id2534
push userclokep@gmail.com
push dateMon, 02 Dec 2019 19:52:51 +0000
treeherdercomm-beta@055c50840778 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjorgk
bugs1596693, 1596329
Bug 1596693 - change history.xul and master password file references to xhtml extension instead of xul (following toolkit renames in bug 1596329). r=jorgk * changemp.xul -> changemp.xhtml * removemp.xul -> removemp.xhtml * history.xul -> histor.xhtml grep -rl 'changemp.xul' --exclude-dir=.hg --exclude-dir=suite --exclude-dir=editor . | xargs sed -i 's/changemp.xul/changemp.xhtml/g' grep -rl 'removemp.xul' --exclude-dir=.hg --exclude-dir=suite --exclude-dir=editor . | xargs sed -i 's/removemp.xul/removemp.xhtml/g' grep -rl 'history.xul' --exclude-dir=.hg --exclude-dir=suite --exclude-dir=editor . | xargs sed -i 's/history.xul/history.xhtml/g'
mail/components/about-support/content/aboutSupport.js
mail/components/preferences/general.js
mail/components/preferences/privacy.js
--- a/mail/components/about-support/content/aboutSupport.js
+++ b/mail/components/about-support/content/aboutSupport.js
@@ -1563,17 +1563,17 @@ function setupEventListeners() {
         );
         new nsLocalFile(updateDirPath).reveal();
       });
     }
     button = $("show-update-history-button");
     if (button) {
       button.addEventListener("click", function(event) {
         window.docShell.rootTreeItem.domWindow.openDialog(
-          "chrome://mozapps/content/update/history.xul",
+          "chrome://mozapps/content/update/history.xhtml",
           "Update:History",
           "centerscreen,resizable=no,titlebar,modal"
         );
       });
     }
   }
   button = $("verify-place-integrity-button");
   if (button) {
--- a/mail/components/preferences/general.js
+++ b/mail/components/preferences/general.js
@@ -1521,17 +1521,17 @@ var gGeneralPane = {
         Ci.nsIApplicationUpdateService
       );
       aus.stopDownload();
       um.cleanupActiveUpdate();
     }
   },
 
   showUpdates() {
-    gSubDialog.open("chrome://mozapps/content/update/history.xul");
+    gSubDialog.open("chrome://mozapps/content/update/history.xhtml");
   },
 
   _loadAppHandlerData() {
     this._loadApplicationHandlers();
   },
 
   /**
    * Load the set of handlers defined by the application datastore.
--- a/mail/components/preferences/privacy.js
+++ b/mail/components/preferences/privacy.js
@@ -297,31 +297,31 @@ var gPrivacyPane = {
       let bundle = document.getElementById("bundlePreferences");
       Services.prompt.alert(
         window,
         bundle.getString("pw_change_failed_title"),
         bundle.getString("pw_change2empty_in_fips_mode")
       );
     } else {
       gSubDialog.open(
-        "chrome://mozapps/content/preferences/removemp.xul",
+        "chrome://mozapps/content/preferences/removemp.xhtml",
         null,
         null,
         this._initMasterPasswordUI.bind(this)
       );
     }
     this._initMasterPasswordUI();
   },
 
   /**
    * Displays a dialog in which the master password may be changed.
    */
   changeMasterPassword() {
     gSubDialog.open(
-      "chrome://mozapps/content/preferences/changemp.xul",
+      "chrome://mozapps/content/preferences/changemp.xhtml",
       null,
       null,
       this._initMasterPasswordUI.bind(this)
     );
   },
 
   /**
    * Shows the sites where the user has saved passwords and the associated