# HG changeset patch # User Bill Gianopoulos # Date 1697712739 14400 # Thu Oct 19 06:52:19 2023 -0400 # Node ID aa370e119f11ae9c6df0dcd87822ab665f63193e # Parent 45168cc70907d2bdc98a39678c68c1213532af75 Bug 1611647 - Port bug 1579952 - Fix references to xul files in suite. diff --git a/suite/app/profile/suite-prefs.js b/suite/app/profile/suite-prefs.js --- a/suite/app/profile/suite-prefs.js +++ b/suite/app/profile/suite-prefs.js @@ -14,18 +14,18 @@ * - Dashes are delimiters; use underscores instead. * - The first character after a period must be alphabetic. * - Computed values (e.g. 50 * 1024) don't work. */ pref("startup.homepage_override_url","chrome://navigator-region/locale/region.properties"); pref("general.skins.selectedSkin", "classic/1.0"); -pref("browser.chromeURL","chrome://navigator/content/navigator.xul"); -pref("browser.hiddenWindowChromeURL", "chrome://navigator/content/hiddenWindow.xul"); +pref("browser.chromeURL","chrome://navigator/content/navigator.xhtml"); +pref("browser.hiddenWindowChromeURL", "chrome://navigator/content/hiddenWindow.xhtml"); // prompt for Master Password on startup pref("signon.startup.prompt", true); pref("general.startup.browser", true); pref("general.startup.mail", false); pref("general.startup.news", false); pref("general.startup.editor", false); @@ -750,18 +750,18 @@ pref("privacy.clearOnShutdown.siteSettin pref("privacy.warn_tracking_content", true); // Switching this on will also spoof our user agent and other potentially // fingerprintable preferences to generic Firefox ones (see nsRFPService // introduced by bug 1330890 and meta-bug 1329996 dependencies). pref("privacy.resistFingerprinting", false); // Show XUL error pages instead of alerts for errors -pref("browser.xul.error_pages.enabled", true); -pref("browser.xul.error_pages.expert_bad_cert", false); +pref("browser.xhtml.error_pages.enabled", true); +pref("browser.xhtml.error_pages.expert_bad_cert", false); // Setting this pref to |true| forces BiDi UI menu items and keyboard shortcuts // to be exposed. By default, only expose it for bidi-associated system locales. pref("bidi.browser.ui", false); // block popup windows pref("dom.disable_open_during_load", true); // prevent JS from moving/resizing existing windows diff --git a/suite/base/content/certError.xhtml b/suite/base/content/certError.xhtml --- a/suite/base/content/certError.xhtml +++ b/suite/base/content/certError.xhtml @@ -122,17 +122,17 @@ hidden="true">&certerror.whatShouldIDo.badStsCertExplanation;

+ "browser.xhtml.error_pages.expert_bad_cert" pref to true -->

&certerror.technical.heading;

&certerror.expert.heading;

diff --git a/suite/base/content/findUtils.js b/suite/base/content/findUtils.js --- a/suite/base/content/findUtils.js +++ b/suite/base/content/findUtils.js @@ -52,17 +52,17 @@ function findInPage(findInstData) var findbar = document.getElementById("FindToolbar"); if (findbar && Services.prefs.getBoolPref("browser.findbar.enabled")) findbar.onFindCommand(); else if ("findDialog" in window && window.findDialog) // is the find dialog up already? window.findDialog.focus(); else { findInstData.init(); - window.findDialog = window.openDialog("chrome://global/content/finddialog.xul", "_blank", "chrome,resizable=no,dependent=yes", findInstData); + window.findDialog = window.openDialog("chrome://global/content/finddialog.xhtml", "_blank", "chrome,resizable=no,dependent=yes", findInstData); } } function findAgainInPage(findInstData, reverse) { var findbar = document.getElementById("FindToolbar"); if (findbar && Services.prefs.getBoolPref("browser.findbar.enabled")) { diff --git a/suite/base/content/nsContextMenu.js b/suite/base/content/nsContextMenu.js --- a/suite/base/content/nsContextMenu.js +++ b/suite/base/content/nsContextMenu.js @@ -2,17 +2,17 @@ /* 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/. */ /*------------------------------ nsContextMenu --------------------------------- | This JavaScript "class" is used to implement the browser's content-area | | context menu. | | | -| For usage, see references to this class in navigator.xul. | +| For usage, see references to this class in navigator.xhtml. | | | | Currently, this code is relatively useless for any other purpose. In the | | longer term, this code will be restructured to make it more reusable. | ------------------------------------------------------------------------------*/ var {BrowserUtils} = ChromeUtils.import("resource://gre/modules/BrowserUtils.jsm"); var {XPCOMUtils} = ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm"); @@ -1136,17 +1136,17 @@ nsContextMenu.prototype = { { referrerURI: doc.documentURIObject, triggeringPrincipal: this.target.nodePrincipal, }); }, setDesktopBackground: function() { let url = (new URL(this.target.ownerDocument.location.href)).pathname; let imageName = url.substr(url.lastIndexOf("/") + 1); - openDialog("chrome://communicator/content/setDesktopBackground.xul", + openDialog("chrome://communicator/content/setDesktopBackground.xhtml", "_blank", "chrome,modal,titlebar,centerscreen", this.target, imageName); }, // Save URL of clicked-on frame. saveFrame: function() { saveDocument(this.target.ownerDocument, true); }, @@ -1364,17 +1364,17 @@ nsContextMenu.prototype = { } else PlacesUIUtils.showItemProperties(itemId, PlacesUtils.bookmarks.TYPE_BOOKMARK); }, // Open Metadata window for node showMetadata: function() { - window.openDialog("chrome://navigator/content/metadata.xul", + window.openDialog("chrome://navigator/content/metadata.xhtml", "_blank", "scrollbars,resizable,chrome,dialog=no", this.target); }, /////////////// // Utilities // /////////////// diff --git a/suite/base/content/tasksOverlay.js b/suite/base/content/tasksOverlay.js --- a/suite/base/content/tasksOverlay.js +++ b/suite/base/content/tasksOverlay.js @@ -30,17 +30,17 @@ function toDownloadManager() .showDownloadManager(); } function toDataManager(aView) { var useDlg = Services.prefs.getBoolPref("suite.manager.dataman.openAsDialog"); if (useDlg) { - var url = "chrome://communicator/content/dataman/dataman.xul"; + var url = "chrome://communicator/content/dataman/dataman.xhtml"; var win = toOpenWindowByType("data:manager", url, "", aView); if (win && aView) win.gDataman.loadView(aView); return; } switchToTabHavingURI("about:data", true, function(browser) { if (aView) @@ -49,38 +49,38 @@ function toDataManager(aView) } function toEM(aView) { var useDlg = Services.prefs.getBoolPref("suite.manager.addons.openAsDialog"); if (useDlg) { var view = aView ? { view: aView } : null; - var url = "chrome://mozapps/content/extensions/extensions.xul"; + var url = "chrome://mozapps/content/extensions/extensions.xhtml"; var win = toOpenWindowByType("Addons:Manager", url, "", view); if (win && aView) win.loadView(aView); return; } switchToTabHavingURI("about:addons", true, function(browser) { if (aView) browser.contentWindow.wrappedJSObject.loadView(aView); }); } function toBookmarksManager() { toOpenWindowByType("Places:Organizer", - "chrome://communicator/content/places/places.xul"); + "chrome://communicator/content/places/places.xhtml"); } function toJavaScriptConsole() { - toOpenWindowByType("suite:console", "chrome://communicator/content/console/console.xul"); + toOpenWindowByType("suite:console", "chrome://communicator/content/console/console.xhtml"); } function toOpenWindow( aWindow ) { try { // Try to focus the previously focused window e.g. message compose body aWindow.document.commandDispatcher.focusedWindow.focus(); } catch (e) { @@ -250,17 +250,17 @@ function toProfileManager() if (promgrWin) { promgrWin.focus(); } else { var params = Cc["@mozilla.org/embedcomp/dialogparam;1"] .createInstance(Ci.nsIDialogParamBlock); params.SetNumberStrings(1); params.SetString(0, "menu"); - window.openDialog("chrome://communicator/content/profile/profileSelection.xul", + window.openDialog("chrome://communicator/content/profile/profileSelection.xhtml", "", "centerscreen,chrome,titlebar,resizable", params); } // Here, we don't care about the result code // that was returned in the param block. } diff --git a/suite/base/content/utilityOverlay.js b/suite/base/content/utilityOverlay.js --- a/suite/base/content/utilityOverlay.js +++ b/suite/base/content/utilityOverlay.js @@ -21,17 +21,17 @@ XPCOMUtils.defineLazyModuleGetters(this, // XPCOMUtils.defineLazyGetter(this, "Weave", function() { // let tmp = {}; // ChromeUtils.import("resource://services-sync/main.js", tmp); // return tmp.Weave; // }); /* Note: All Editor/Composer-related methods have been moved to editorApplicationOverlay.js, - so app windows that require those must include editorTasksOverlay.xul + so app windows that require those must include editorTasksOverlay.xhtml */ /** * Go into online/offline mode **/ const kProxyManual = ["network.proxy.ftp", "network.proxy.http", @@ -219,27 +219,27 @@ function setOfflineUI(offline) function getBrowserURL() { try { var url = Services.prefs.getCharPref("browser.chromeURL"); if (url) return url; } catch(e) { } - return "chrome://navigator/content/navigator.xul"; + return "chrome://navigator/content/navigator.xhtml"; } function goPreferences(paneID) { //check for an existing pref window and focus it; it's not application modal var lastPrefWindow = Services.wm.getMostRecentWindow("mozilla:preferences"); if (lastPrefWindow) lastPrefWindow.focus(); else - openDialog("chrome://communicator/content/pref/preferences.xul", + openDialog("chrome://communicator/content/pref/preferences.xhtml", "PrefWindow", "non-private,chrome,titlebar,dialog=no,resizable", paneID); } function goToggleToolbar(id, elementID) { var toolbar = document.getElementById(id); if (!toolbar) @@ -278,17 +278,17 @@ function SuiteCustomizeToolbar(aMenuItem function goCustomizeToolbar(toolbox) { /* If the toolbox has a method "customizeInit" then call it first. The optional "customizeDone" method will be invoked by the callback from the Customize Window so we don't need to take care of that */ if ("customizeInit" in toolbox) toolbox.customizeInit(); - var customizeURL = "chrome://communicator/content/customizeToolbar.xul"; + var customizeURL = "chrome://communicator/content/customizeToolbar.xhtml"; gCustomizeSheet = Services.prefs.getBoolPref("toolbar.customization.usesheet", false); if (gCustomizeSheet) { var sheetFrame = document.getElementById("customizeToolbarSheetIFrame"); var panel = document.getElementById("customizeToolbarSheetPopup"); sheetFrame.hidden = false; @@ -1089,17 +1089,17 @@ function BrowserOnCommand(event) switch (Services.prefs.getIntPref("browser.ssl_override_behavior", 2)) { case 2 : // Pre-fetch & pre-populate. params.prefetchCert = true; // Fall through. case 1 : // Pre-populate. params.location = ownerDoc.location.href; } - window.openDialog('chrome://pippki/content/exceptionDialog.xul', + window.openDialog('chrome://pippki/content/exceptionDialog.xhtml', '', 'chrome,centerscreen,modal', params); // If the user added the exception cert, attempt to reload the page if (params.exceptionAdded) ownerDoc.location.reload(); } else if (buttonID == "getMeOutOfHereButton") { // Redirect them to a known-functioning page, default start page @@ -1813,17 +1813,17 @@ function subscribeToFeedMiddleClick(href } function OpenSearchEngineManager() { var window = Services.wm.getMostRecentWindow("Browser:SearchManager"); if (window) window.focus(); else { var arg = { value: false }; - openDialog("chrome://communicator/content/search/engineManager.xul", + openDialog("chrome://communicator/content/search/engineManager.xhtml", "_blank", "chrome,dialog,modal,centerscreen,resizable", arg); if (arg.value) loadAddSearchEngines(); } } function loadAddSearchEngines() { var newWindowPref = Services.prefs.getIntPref("browser.link.open_newwindow"); diff --git a/suite/base/content/viewSourceOverlay.js b/suite/base/content/viewSourceOverlay.js --- a/suite/base/content/viewSourceOverlay.js +++ b/suite/base/content/viewSourceOverlay.js @@ -1,17 +1,17 @@ /* 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/. */ // onload make sure we adapt what's needed for partial source window.addEventListener("load", onLoadViewSourceOverlay); function onLoadViewSourceOverlay() { - if (/viewPartialSource\.xul$/.test(document.location)) { + if (/viewPartialSource\.xhtml$/.test(document.location)) { // disable menu items that don't work since the selection is munged and // the editor doesn't work for MathML document.getElementById('cmd_savePage').setAttribute('disabled', 'true'); document.getElementById('cmd_editPage').setAttribute('disabled', 'true'); } } // editPage() comes in from editorApplicationOverlay.js diff --git a/suite/base/content/viewSourceOverlay.xhtml b/suite/base/content/viewSourceOverlay.xhtml --- a/suite/base/content/viewSourceOverlay.xhtml +++ b/suite/base/content/viewSourceOverlay.xhtml @@ -2,18 +2,18 @@ - - + + %navDTD; ]> diff --git a/suite/base/content/viewZoomOverlay.js b/suite/base/content/viewZoomOverlay.js --- a/suite/base/content/viewZoomOverlay.js +++ b/suite/base/content/viewZoomOverlay.js @@ -321,17 +321,17 @@ var FullZoom = FullZoom || { if (aValue > ZoomManager.MAX) return ZoomManager.MAX; return aValue; } }; -/***** init and helper functions for viewZoomOverlay.xul *****/ +/***** init and helper functions for viewZoomOverlay.xhtml *****/ window.addEventListener("load", registerZoomManager); window.addEventListener("unload", unregisterZoomManager); function registerZoomManager() { FullZoom.init(); var zoomBundle = document.getElementById("bundle_viewZoom"); var zoomMenu = document.getElementById("menu_zoom"); @@ -433,17 +433,17 @@ function updateZoomMenu() { } function openZoomDialog() { var zoomOther = document.getElementById("menu_zoomOther"); // open dialog and ask for new value var o = {value: zoomOther.getAttribute("value"), zoomMin: ZoomManager.MIN * 100, zoomMax: ZoomManager.MAX * 100}; - window.openDialog("chrome://communicator/content/askViewZoom.xul", + window.openDialog("chrome://communicator/content/askViewZoom.xhtml", "", "chrome,modal,centerscreen", o); if (o.zoomOK) { zoomOther.setAttribute("value", o.value); ZoomManager.zoom = o.value / 100; } return o.zoomOK; } diff --git a/suite/base/jar.mn b/suite/base/jar.mn --- a/suite/base/jar.mn +++ b/suite/base/jar.mn @@ -7,93 +7,93 @@ toolkit.jar: content/global/aboutSeaMonkey.xhtml (content/aboutSeaMonkey.xhtml) comm.jar: % content communicator %content/communicator/ contentaccessible=yes % override chrome://browser/content/utilityOverlay.js chrome://communicator/content/utilityOverlay.js % override chrome://global/content/license.html chrome://communicator/content/license.html % override chrome://global/content/netError.xhtml chrome://communicator/content/certError.xhtml -% overlay chrome://global/content/viewSource.xul chrome://communicator/content/viewSourceOverlay.xul -% overlay chrome://global/content/viewPartialSource.xul chrome://communicator/content/viewSourceOverlay.xul -% overlay chrome://editor/content/EdAdvancedEdit.xul chrome://communicator/content/helpEditorOverlay.xul -% overlay chrome://editor/content/EdImageProps.xul chrome://communicator/content/helpEditorOverlay.xul -% overlay chrome://editor/content/EditorPublish.xul chrome://communicator/content/helpEditorOverlay.xul -% overlay chrome://editor/content/EditorPublishProgress.xul chrome://communicator/content/helpEditorOverlay.xul -% overlay chrome://editor/content/EditorPublishSettings.xul chrome://communicator/content/helpEditorOverlay.xul -% overlay chrome://editor/content/EdLinkProps.xul chrome://communicator/content/helpEditorOverlay.xul -% overlay chrome://editor/content/EdTableProps.xul chrome://communicator/content/helpEditorOverlay.xul -% overlay chrome://pippki/content/certManager.xul chrome://communicator/content/helpSecurityOverlay.xul -% overlay chrome://pippki/content/certViewer.xul chrome://communicator/content/helpSecurityOverlay.xul -% overlay chrome://pippki/content/changepassword.xul chrome://communicator/content/helpSecurityOverlay.xul -% overlay chrome://pippki/content/device_manager.xul chrome://communicator/content/helpSecurityOverlay.xul -% overlay chrome://pippki/content/choosetoken.xul chrome://communicator/content/helpSecurityOverlay.xul -% overlay chrome://pippki/content/clientauthask.xul chrome://communicator/content/helpSecurityOverlay.xul -% overlay chrome://pippki/content/crlImportDialog.xul chrome://communicator/content/helpSecurityOverlay.xul -% overlay chrome://pippki/content/deletecert.xul chrome://communicator/content/helpSecurityOverlay.xul -% overlay chrome://pippki/content/editcacert.xul chrome://communicator/content/helpSecurityOverlay.xul -% overlay chrome://pippki/content/editemailcert.xul chrome://communicator/content/helpSecurityOverlay.xul -% overlay chrome://pippki/content/editsslcert.xul chrome://communicator/content/helpSecurityOverlay.xul -% overlay chrome://pippki/content/escrowWarn.xul chrome://communicator/content/helpSecurityOverlay.xul -% overlay chrome://pippki/content/getp12password.xul chrome://communicator/content/helpSecurityOverlay.xul -% overlay chrome://pippki/content/setp12password.xul chrome://communicator/content/helpSecurityOverlay.xul -% overlay chrome://pippki/content/pref-crlupdate.xul chrome://communicator/content/helpSecurityOverlay.xul -% overlay chrome://pippki/content/serverCrlNextupdate.xul chrome://communicator/content/helpSecurityOverlay.xul -% overlay chrome://pippki/content/crlManager.xul chrome://communicator/content/helpSecurityOverlay.xul -% overlay chrome://pippki/content/resetpassword.xul chrome://communicator/content/helpSecurityOverlay.xul -% overlay chrome://pippki/content/downloadcert.xul chrome://communicator/content/helpSecurityOverlay.xul -% overlay chrome://messenger/content/addressbook/pref-editdirectories.xul chrome://communicator/content/helpMessengerOverlay.xul -% overlay chrome://messenger/content/addressbook/pref-directory-add.xul chrome://communicator/content/helpMessengerOverlay.xul -% overlay chrome://messenger/content/AccountManager.xul chrome://communicator/content/helpMessengerOverlay.xul -% overlay chrome://messenger/content/FilterEditor.xul chrome://communicator/content/helpMessengerOverlay.xul -% overlay chrome://messenger/content/junkMailInfo.xul chrome://communicator/content/helpMessengerOverlay.xul -% overlay chrome://messenger/content/msgSelectOfflineFolders.xul chrome://communicator/content/helpMessengerOverlay.xul -% overlay chrome://messenger/content/subscribe.xul chrome://communicator/content/helpMessengerOverlay.xul -% overlay chrome://messenger/content/mailViewList.xul chrome://communicator/content/helpMessengerOverlay.xul -% overlay chrome://messenger/content/mailViewSetup.xul chrome://communicator/content/helpMessengerOverlay.xul -% overlay chrome://messenger-smime/content/msgCompSecurityInfo.xul chrome://communicator/content/helpMessengerOverlay.xul -% overlay chrome://messenger-smime/content/msgReadSecurityInfo.xul chrome://communicator/content/helpMessengerOverlay.xul +% overlay chrome://global/content/viewSource.xhtml chrome://communicator/content/viewSourceOverlay.xhtml +% overlay chrome://global/content/viewPartialSource.xhtml chrome://communicator/content/viewSourceOverlay.xhtml +% overlay chrome://editor/content/EdAdvancedEdit.xhtml chrome://communicator/content/helpEditorOverlay.xhtml +% overlay chrome://editor/content/EdImageProps.xhtml chrome://communicator/content/helpEditorOverlay.xhtml +% overlay chrome://editor/content/EditorPublish.xhtml chrome://communicator/content/helpEditorOverlay.xhtml +% overlay chrome://editor/content/EditorPublishProgress.xhtml chrome://communicator/content/helpEditorOverlay.xhtml +% overlay chrome://editor/content/EditorPublishSettings.xhtml chrome://communicator/content/helpEditorOverlay.xhtml +% overlay chrome://editor/content/EdLinkProps.xhtml chrome://communicator/content/helpEditorOverlay.xhtml +% overlay chrome://editor/content/EdTableProps.xhtml chrome://communicator/content/helpEditorOverlay.xhtml +% overlay chrome://pippki/content/certManager.xhtml chrome://communicator/content/helpSecurityOverlay.xhtml +% overlay chrome://pippki/content/certViewer.xhtml chrome://communicator/content/helpSecurityOverlay.xhtml +% overlay chrome://pippki/content/changepassword.xhtml chrome://communicator/content/helpSecurityOverlay.xhtml +% overlay chrome://pippki/content/device_manager.xhtml chrome://communicator/content/helpSecurityOverlay.xhtml +% overlay chrome://pippki/content/choosetoken.xhtml chrome://communicator/content/helpSecurityOverlay.xhtml +% overlay chrome://pippki/content/clientauthask.xhtml chrome://communicator/content/helpSecurityOverlay.xhtml +% overlay chrome://pippki/content/crlImportDialog.xhtml chrome://communicator/content/helpSecurityOverlay.xhtml +% overlay chrome://pippki/content/deletecert.xhtml chrome://communicator/content/helpSecurityOverlay.xhtml +% overlay chrome://pippki/content/editcacert.xhtml chrome://communicator/content/helpSecurityOverlay.xhtml +% overlay chrome://pippki/content/editemailcert.xhtml chrome://communicator/content/helpSecurityOverlay.xhtml +% overlay chrome://pippki/content/editsslcert.xhtml chrome://communicator/content/helpSecurityOverlay.xhtml +% overlay chrome://pippki/content/escrowWarn.xhtml chrome://communicator/content/helpSecurityOverlay.xhtml +% overlay chrome://pippki/content/getp12password.xhtml chrome://communicator/content/helpSecurityOverlay.xhtml +% overlay chrome://pippki/content/setp12password.xhtml chrome://communicator/content/helpSecurityOverlay.xhtml +% overlay chrome://pippki/content/pref-crlupdate.xhtml chrome://communicator/content/helpSecurityOverlay.xhtml +% overlay chrome://pippki/content/serverCrlNextupdate.xhtml chrome://communicator/content/helpSecurityOverlay.xhtml +% overlay chrome://pippki/content/crlManager.xhtml chrome://communicator/content/helpSecurityOverlay.xhtml +% overlay chrome://pippki/content/resetpassword.xhtml chrome://communicator/content/helpSecurityOverlay.xhtml +% overlay chrome://pippki/content/downloadcert.xhtml chrome://communicator/content/helpSecurityOverlay.xhtml +% overlay chrome://messenger/content/addressbook/pref-editdirectories.xhtml chrome://communicator/content/helpMessengerOverlay.xhtml +% overlay chrome://messenger/content/addressbook/pref-directory-add.xhtml chrome://communicator/content/helpMessengerOverlay.xhtml +% overlay chrome://messenger/content/AccountManager.xhtml chrome://communicator/content/helpMessengerOverlay.xhtml +% overlay chrome://messenger/content/FilterEditor.xhtml chrome://communicator/content/helpMessengerOverlay.xhtml +% overlay chrome://messenger/content/junkMailInfo.xhtml chrome://communicator/content/helpMessengerOverlay.xhtml +% overlay chrome://messenger/content/msgSelectOfflineFolders.xhtml chrome://communicator/content/helpMessengerOverlay.xhtml +% overlay chrome://messenger/content/subscribe.xhtml chrome://communicator/content/helpMessengerOverlay.xhtml +% overlay chrome://messenger/content/mailViewList.xhtml chrome://communicator/content/helpMessengerOverlay.xhtml +% overlay chrome://messenger/content/mailViewSetup.xhtml chrome://communicator/content/helpMessengerOverlay.xhtml +% overlay chrome://messenger-smime/content/msgCompSecurityInfo.xhtml chrome://communicator/content/helpMessengerOverlay.xhtml +% overlay chrome://messenger-smime/content/msgReadSecurityInfo.xhtml chrome://communicator/content/helpMessengerOverlay.xhtml % style about:addons chrome://communicator/content/extensionsOverlay.css -% style chrome://mozapps/content/extensions/extensions.xul chrome://communicator/content/extensionsOverlay.css +% style chrome://mozapps/content/extensions/extensions.xhtml chrome://communicator/content/extensionsOverlay.css content/communicator/about.js (content/about.js) content/communicator/about.xhtml (content/about.xhtml) content/communicator/aboutLife.xhtml (content/aboutLife.xhtml) content/communicator/aboutPrivateBrowsing.css (content/aboutPrivateBrowsing.css) content/communicator/aboutPrivateBrowsing.js (content/aboutPrivateBrowsing.js) - content/communicator/aboutPrivateBrowsing.xul (content/aboutPrivateBrowsing.xul) - content/communicator/askViewZoom.xul (content/askViewZoom.xul) + content/communicator/aboutPrivateBrowsing.xhtml (content/aboutPrivateBrowsing.xhtml) + content/communicator/askViewZoom.xhtml (content/askViewZoom.xhtml) content/communicator/askViewZoom.js (content/askViewZoom.js) content/communicator/blockedSite.js (content/blockedSite.js) content/communicator/blockedSite.xhtml (content/blockedSite.xhtml) content/communicator/certError.css (content/certError.css) content/communicator/certError.js (content/certError.js) content/communicator/certError.xhtml (content/certError.xhtml) content/communicator/certError.xml (content/certError.xml) - content/communicator/charsetOverlay.xul (content/charsetOverlay.xul) + content/communicator/charsetOverlay.xhtml (content/charsetOverlay.xhtml) * content/communicator/communicator.css (content/communicator.css) content/communicator/contentAreaClick.js (content/contentAreaClick.js) - content/communicator/contentAreaContextOverlay.xul (content/contentAreaContextOverlay.xul) + content/communicator/contentAreaContextOverlay.xhtml (content/contentAreaContextOverlay.xhtml) content/communicator/defaultClientDialog.js (content/defaultClientDialog.js) - content/communicator/defaultClientDialog.xul (content/defaultClientDialog.xul) + content/communicator/defaultClientDialog.xhtml (content/defaultClientDialog.xhtml) content/communicator/extensionsOverlay.css (content/extensionsOverlay.css) content/communicator/findUtils.js (content/findUtils.js) content/communicator/fullscreen-video.xhtml (content/fullscreen-video.xhtml) content/communicator/gopherAddon.xhtml (content/gopherAddon.xhtml) - content/communicator/helpEditorOverlay.xul (content/helpEditorOverlay.xul) - content/communicator/helpMessengerOverlay.xul (content/helpMessengerOverlay.xul) - content/communicator/helpSecurityOverlay.xul (content/helpSecurityOverlay.xul) + content/communicator/helpEditorOverlay.xhtml (content/helpEditorOverlay.xhtml) + content/communicator/helpMessengerOverlay.xhtml (content/helpMessengerOverlay.xhtml) + content/communicator/helpSecurityOverlay.xhtml (content/helpSecurityOverlay.xhtml) # 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 (/toolkit/content/license.html) content/communicator/nsContextMenu.js (content/nsContextMenu.js) content/communicator/openLocation.js (content/openLocation.js) - content/communicator/openLocation.xul (content/openLocation.xul) + content/communicator/openLocation.xhtml (content/openLocation.xhtml) content/communicator/safeMode.js (content/safeMode.js) - content/communicator/safeMode.xul (content/safeMode.xul) + content/communicator/safeMode.xhtml (content/safeMode.xhtml) content/communicator/tasksOverlay.js (content/tasksOverlay.js) -* content/communicator/tasksOverlay.xul (content/tasksOverlay.xul) +* content/communicator/tasksOverlay.xhtml (content/tasksOverlay.xhtml) content/communicator/utilityOverlay.js (content/utilityOverlay.js) -* content/communicator/utilityOverlay.xul (content/utilityOverlay.xul) - content/communicator/viewApplyThemeOverlay.xul (content/viewApplyThemeOverlay.xul) +* content/communicator/utilityOverlay.xhtml (content/utilityOverlay.xhtml) + content/communicator/viewApplyThemeOverlay.xhtml (content/viewApplyThemeOverlay.xhtml) content/communicator/viewApplyThemeOverlay.js (content/viewApplyThemeOverlay.js) content/communicator/viewSourceOverlay.js (content/viewSourceOverlay.js) - content/communicator/viewSourceOverlay.xul (content/viewSourceOverlay.xul) - content/communicator/viewZoomOverlay.xul (content/viewZoomOverlay.xul) + content/communicator/viewSourceOverlay.xhtml (content/viewSourceOverlay.xhtml) + content/communicator/viewZoomOverlay.xhtml (content/viewZoomOverlay.xhtml) content/communicator/viewZoomOverlay.js (content/viewZoomOverlay.js) diff --git a/suite/browser/browser-places.js b/suite/browser/browser-places.js --- a/suite/browser/browser-places.js +++ b/suite/browser/browser-places.js @@ -143,17 +143,17 @@ var StarUI = { if (this._overlayLoaded) { await this._doShowEditBookmarkPanel(aNode, aAnchorElement, aPosition, aUrl); return; } this._overlayLoading = true; document.loadOverlay( - "chrome://communicator/content/places/editBookmarkOverlay.xul", + "chrome://communicator/content/places/editBookmarkOverlay.xhtml", (aSubject, aTopic, aData) => { // Move the header (star, title, button) into the grid, // so that it aligns nicely with the other items (bug 484022). let header = this._element("editBookmarkPanelHeader"); let rows = this._element("editBookmarkPanelGrid").lastChild; rows.insertBefore(header, rows.firstChild); header.hidden = false; @@ -512,17 +512,17 @@ var PlacesCommandHook = { * BookmarksMenu, BookmarksToolbar, UnfiledBookmarks, * AllBookmarks, History. */ showPlacesOrganizer(item) { var organizer = Services.wm.getMostRecentWindow("Places:Organizer"); // Due to bug 528706, getMostRecentWindow can return closed windows. if (!organizer || organizer.closed) { // No currently open places window, so open one with the specified mode. - openDialog("chrome://communicator/content/places/places.xul", + openDialog("chrome://communicator/content/places/places.xhtml", "", "chrome,toolbar=yes,dialog=no,resizable", item); } else { organizer.PlacesOrganizer.selectLeftPaneContainerByHierarchy(item); organizer.focus(); } }, }; diff --git a/suite/browser/hiddenWindow.xhtml b/suite/browser/hiddenWindow.xhtml --- a/suite/browser/hiddenWindow.xhtml +++ b/suite/browser/hiddenWindow.xhtml @@ -1,29 +1,29 @@ - + - + %brandDTD; %navigatorDTD; ]> - diff --git a/suite/browser/jar.mn b/suite/browser/jar.mn --- a/suite/browser/jar.mn +++ b/suite/browser/jar.mn @@ -3,39 +3,39 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. comm.jar: % content navigator %content/navigator/ % content navigator-region %content/navigator-region/ content/navigator/browser-places.js content/navigator/content.js content/navigator/fullScreen.js - content/navigator/hiddenWindow.xul + content/navigator/hiddenWindow.xhtml content/navigator/linkToolbarHandler.js content/navigator/linkToolbarItem.js content/navigator/linkToolbarOverlay.js - content/navigator/linkToolbarOverlay.xul + content/navigator/linkToolbarOverlay.xhtml content/navigator/mailNavigatorOverlay.js -* content/navigator/mailNavigatorOverlay.xul +* content/navigator/mailNavigatorOverlay.xhtml content/navigator/metadata.js - content/navigator/metadata.xul + content/navigator/metadata.xhtml content/navigator/navigator.css content/navigator/navigator.js - content/navigator/navigator.xul + content/navigator/navigator.xhtml content/navigator/navigatorDD.js -* content/navigator/navigatorOverlay.xul +* content/navigator/navigatorOverlay.xhtml content/navigator/nsBrowserContentListener.js content/navigator/nsBrowserStatusHandler.js content/navigator/sessionHistoryUI.js content/navigator/safeBrowsingOverlay.js - content/navigator/safeBrowsingOverlay.xul + content/navigator/safeBrowsingOverlay.xhtml content/navigator/tabbrowser.xml content/navigator/urlbarBindings.xml content/navigator/webDeveloperOverlay.js - content/navigator/webDeveloperOverlay.xul + content/navigator/webDeveloperOverlay.xhtml content/navigator/pageinfo/feeds.js (pageinfo/feeds.js) content/navigator/pageinfo/feeds.xml (pageinfo/feeds.xml) content/navigator/pageinfo/pageInfo.css (pageinfo/pageInfo.css) content/navigator/pageinfo/pageInfo.js (pageinfo/pageInfo.js) - content/navigator/pageinfo/pageInfo.xul (pageinfo/pageInfo.xul) + content/navigator/pageinfo/pageInfo.xhtml (pageinfo/pageInfo.xhtml) content/navigator/pageinfo/permissions.js (pageinfo/permissions.js) content/navigator/pageinfo/security.js (pageinfo/security.js) diff --git a/suite/browser/mailNavigatorOverlay.js b/suite/browser/mailNavigatorOverlay.js --- a/suite/browser/mailNavigatorOverlay.js +++ b/suite/browser/mailNavigatorOverlay.js @@ -64,17 +64,17 @@ function openExternalMailer(url, title) + encodeURIComponent(title) : "mailto:"; var uri = Services.io.newURI(mailto); extProtocolSvc.loadURI(uri); } function openNewCardDialog() { - window.openDialog("chrome://messenger/content/addressbook/abNewCardDialog.xul", + window.openDialog("chrome://messenger/content/addressbook/abNewCardDialog.xhtml", "", "chrome,modal,resizable=no,centerscreen"); } function goOpenNewMessage() { if (gUseExternalMailto) { openExternalMailer(); diff --git a/suite/browser/navigator.js b/suite/browser/navigator.js --- a/suite/browser/navigator.js +++ b/suite/browser/navigator.js @@ -1672,17 +1672,17 @@ function QualifySearchTerm() return gURLBar.value; return ""; } function BrowserOpenWindow() { //opens a window where users can select a web location to open var params = { action: gPrivate ? "4" : "0", url: "" }; - openDialog("chrome://communicator/content/openLocation.xul", "_blank", + openDialog("chrome://communicator/content/openLocation.xhtml", "_blank", "chrome,modal,titlebar", params); getShortcutOrURIAndPostData(params.url).then(data => { switch (params.action) { case "0": // current window loadURI(data.url, null, data.postData, true); break; case "1": // new window @@ -2415,17 +2415,17 @@ function BrowserPageInfo(documentURL, in if (win.document.documentElement .getAttribute("relatedUrl") == documentURL) { win.focus(); win.resetPageInfo(args); return win; } } // We didn't find a matching window, so open a new one. - return window.openDialog("chrome://navigator/content/pageinfo/pageInfo.xul", + return window.openDialog("chrome://navigator/content/pageinfo/pageInfo.xhtml", "_blank", "chrome,dialog=no,resizable", args); } function hiddenWindowStartup() { // focus the hidden window @@ -2950,17 +2950,17 @@ function BrowserUploadFile() // this gives the protocol handler the best chance of generating a // properly formatted URI spec. we pass null for the origin charset // parameter since we want the URI to inherit the origin charset // property from targetBaseURI. var leafName = fp.fileURL.QueryInterface(Ci.nsIFileURL).file.leafName; var targetURI = Services.io.newURI(leafName, null, targetBaseURI); // ok, start uploading... - openDialog("chrome://communicator/content/downloads/uploadProgress.xul", "", + openDialog("chrome://communicator/content/downloads/uploadProgress.xhtml", "", "titlebar,centerscreen,minimizable,dialog=no", fp.fileURL, targetURI); } catch (e) {} }); } /* This function is called whenever the file menu is about to be displayed. * Enable the upload menu item if appropriate. */ function updateFileUploadItem() @@ -3248,17 +3248,17 @@ function viewCertificate() Cc["@mozilla.org/nsCertificateDialogs;1"] .getService(Ci.nsICertificateDialogs) .viewCert(window, cert); } } function openCertManager() { - toOpenWindowByType("mozilla:certmanager", "chrome://pippki/content/certManager.xul", + toOpenWindowByType("mozilla:certmanager", "chrome://pippki/content/certManager.xhtml", "resizable,dialog=no,centerscreen"); } function onViewSecurityContextMenu() { document.getElementById("viewCertificate").disabled = !getCert(); } diff --git a/suite/browser/navigator.xhtml b/suite/browser/navigator.xhtml --- a/suite/browser/navigator.xhtml +++ b/suite/browser/navigator.xhtml @@ -3,22 +3,22 @@ - - - - - - + + + + + + %brandDTD; %navigatorDTD; ]> @@ -532,17 +532,17 @@ placespopup="true" tooltip="bhTooltip" popupsinherittooltip="true" context="placesContext"/> - diff --git a/suite/browser/navigatorOverlay.xhtml b/suite/browser/navigatorOverlay.xhtml --- a/suite/browser/navigatorOverlay.xhtml +++ b/suite/browser/navigatorOverlay.xhtml @@ -1,20 +1,20 @@ - - - - - - - + + + + + + + %navigatorDTD; %navigatorOverlayDTD; %contentAreaCommandsDTD; @@ -277,17 +277,17 @@ - + @@ -395,17 +395,17 @@ - + - + - - - + + +