Bug 1601093, Rename the remaining .xul files to .xhtml in toolkit/ r=marionette-reviewers,mossop,whimboo

Differential Revision: https://phabricator.services.mozilla.com/D55857
This commit is contained in:
Emma Malysz
2019-12-11 17:02:20 +00:00
parent 4bb4352828
commit abfeb3aaa3
76 changed files with 79 additions and 77 deletions

View File

@@ -134,8 +134,8 @@ class PromptParent extends JSWindowActorParent {
switch (message.name) {
case "Prompt:Open": {
const COMMON_DIALOG = "chrome://global/content/commonDialog.xul";
const SELECT_DIALOG = "chrome://global/content/selectDialog.xul";
const COMMON_DIALOG = "chrome://global/content/commonDialog.xhtml";
const SELECT_DIALOG = "chrome://global/content/selectDialog.xhtml";
let topPrincipal =
browsingContext.top.currentWindowGlobal.documentPrincipal;

View File

@@ -31,7 +31,7 @@ function showResetDialog() {
reset: false,
};
window.openDialog(
"chrome://global/content/resetProfile.xul",
"chrome://global/content/resetProfile.xhtml",
null,
"chrome,modal,centerscreen,titlebar,dialog=yes",
retVals

View File

@@ -632,7 +632,7 @@ var DownloadsCommon = {
function() {
if (
subj.document.documentURI ==
"chrome://global/content/commonDialog.xul"
"chrome://global/content/commonDialog.xhtml"
) {
Services.ww.unregisterNotification(onOpen);
let dialog = subj.document.getElementById("commonDialog");

View File

@@ -32,7 +32,7 @@
<script src="chrome://global/content/contentAreaUtils.js"/>
<script src="chrome://global/content/editMenuOverlay.js"/>
#include ../../../../toolkit/content/editMenuKeys.inc.xul
#include ../../../../toolkit/content/editMenuKeys.inc.xhtml
#ifdef XP_MACOSX
<keyset id="editMenuKeysExtra">
<key id="key_delete2" keycode="VK_BACK" command="cmd_delete"/>

View File

@@ -1085,7 +1085,7 @@ var Policies = {
onBeforeUIStartup(manager, param) {
if (!param) {
blockAboutPage(manager, "about:logins", true);
gBlockedChromePages.push("passwordManager.xul");
gBlockedChromePages.push("passwordManager.xhtml");
setAndLockPref("pref.privacy.disable_button.view_passwords", true);
}
setAndLockPref("signon.rememberSignons", param);
@@ -1774,7 +1774,7 @@ function blockAboutPage(manager, feature, neededOnContentProcess = false) {
gBlockedChromePages.push(fileName);
if (feature == "about:config") {
// Hide old page until it is removed
gBlockedChromePages.push("config.xul");
gBlockedChromePages.push("config.xhtml");
}
}

View File

@@ -34,7 +34,7 @@
#include placesCommands.inc.xhtml
#include ../../../../toolkit/content/editMenuKeys.inc.xul
#include ../../../../toolkit/content/editMenuKeys.inc.xhtml
#ifdef XP_MACOSX
<keyset id="editMenuKeysExtra">
<key id="key_delete2" keycode="VK_BACK" command="cmd_delete"/>

View File

@@ -135,7 +135,7 @@
#endif
</keyset>
#include ../../../../toolkit/content/editMenuKeys.inc.xul
#include ../../../../toolkit/content/editMenuKeys.inc.xhtml
#ifdef XP_MACOSX
<keyset id="editMenuKeysExtra">
<key id="key_delete2" keycode="VK_BACK" command="cmd_delete"/>

View File

@@ -2584,7 +2584,7 @@ var gMainPane = {
};
gSubDialog.open(
"chrome://global/content/appPicker.xul",
"chrome://global/content/appPicker.xhtml",
null,
params,
onAppSelected

View File

@@ -1915,7 +1915,7 @@ var gPrivacyPane = {
return;
}
Services.telemetry.recordEvent("pwmgr", "open_management", "preferences");
gSubDialog.open("chrome://passwordmgr/content/passwordManager.xul");
gSubDialog.open("chrome://passwordmgr/content/passwordManager.xhtml");
},
/**

View File

@@ -47,7 +47,7 @@ add_task(async function() {
let chooseItem = list.menupopup.querySelector(".choose-app-item");
let dialogLoadedPromise = promiseLoadSubDialog(
"chrome://global/content/appPicker.xul"
"chrome://global/content/appPicker.xhtml"
);
let cmdEvent = win.document.createEvent("xulcommandevent");
cmdEvent.initCommandEvent(

View File

@@ -2,7 +2,7 @@
ChromeUtils.import("resource://testing-common/TelemetryTestUtils.jsm", this);
const PM_URL = "chrome://passwordmgr/content/passwordManager.xul";
const PM_URL = "chrome://passwordmgr/content/passwordManager.xhtml";
const PREF_MANAGEMENT_URI = "signon.management.overrideURI";
var passwordsDialog;

View File

@@ -29,7 +29,7 @@ function promiseDialogOpened() {
let win = xulWin.docShell.domWindow;
waitForFocus(() => {
if (win.location == "chrome://global/content/commonDialog.xul") {
if (win.location == "chrome://global/content/commonDialog.xhtml") {
resolve(win);
} else {
reject();

View File

@@ -70,7 +70,7 @@ function getDialogDoc() {
// ok(true, "Got window: " + childDoc.location.href);
if (
childDoc.location.href == "chrome://global/content/commonDialog.xul"
childDoc.location.href == "chrome://global/content/commonDialog.xhtml"
) {
return childDoc;
}

View File

@@ -21,7 +21,7 @@ add_UITour_task(async function test_resetFirefox() {
function() {
if (
subj.document.documentURI ==
"chrome://global/content/resetProfile.xul"
"chrome://global/content/resetProfile.xhtml"
) {
Services.ww.unregisterNotification(onOpen);
ok(true, "Observed search manager window open");

View File

@@ -51,7 +51,7 @@ async function checkExtension() {
function() {
if (
subj.document.documentURI ==
"chrome://global/content/resetProfile.xul"
"chrome://global/content/resetProfile.xhtml"
) {
Services.ww.unregisterNotification(onOpen);
Assert.ok(true, "Observed search manager window open");

View File

@@ -68,7 +68,7 @@ static const RedirEntry kRedirMap[] = {
nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT |
nsIAboutModule::ALLOW_SCRIPT},
#ifndef MOZ_BUILD_APP_IS_BROWSER
{"config", "chrome://global/content/config.xul", 0},
{"config", "chrome://global/content/config.xhtml", 0},
#endif
#ifdef MOZ_CRASHREPORTER
{"crashes", "chrome://global/content/crashes.xhtml", 0},

View File

@@ -53,7 +53,7 @@ async function testFrame(frame, html, expected = html) {
}
add_task(async function test_fragment_sanitization() {
const XUL_URL = "chrome://global/content/win.xul";
const XUL_URL = "chrome://global/content/win.xhtml";
const HTML_URL = "chrome://mochitests/content/chrome/dom/base/test/file_empty.html";
const HTML = '<a onclick="foo()" href="javascript:foo"><script>bar()<\/script>Meh.</a><a href="http://foo/"></a>';

View File

@@ -7,7 +7,7 @@ geckoview.jar:
content/config.xhtml
content/config.js
% override chrome://global/content/config.xul chrome://geckoview/content/config.xhtml
% override chrome://global/content/config.xhtml chrome://geckoview/content/config.xhtml
content/ErrorPageEventHandler.js
content/geckoview.xul

View File

@@ -15,7 +15,7 @@ XPCOMUtils.defineLazyGetter(this, "logger", Log.get);
this.EXPORTED_SYMBOLS = ["modal"];
const COMMON_DIALOG = "chrome://global/content/commonDialog.xul";
const COMMON_DIALOG = "chrome://global/content/commonDialog.xhtml";
const isFirefox = () =>
Services.appinfo.ID == "{ec8030f7-c20a-464f-9b0e-13a3a9e97384}";

View File

@@ -2053,7 +2053,7 @@ var BrowserTestUtils = {
*/
async promiseAlertDialogOpen(
buttonAction,
uri = "chrome://global/content/commonDialog.xul",
uri = "chrome://global/content/commonDialog.xhtml",
func
) {
let win = await this.domWindowOpened(null, async win => {
@@ -2091,7 +2091,7 @@ var BrowserTestUtils = {
*/
async promiseAlertDialog(
buttonAction,
uri = "chrome://global/content/commonDialog.xul",
uri = "chrome://global/content/commonDialog.xhtml",
func
) {
let win = await this.promiseAlertDialogOpen(buttonAction, uri, func);

View File

@@ -4,5 +4,5 @@
toolkit.jar:
content/global/alerts/alert.css (resources/content/alert.css)
content/global/alerts/alert.xul (resources/content/alert.xul)
content/global/alerts/alert.xhtml (resources/content/alert.xhtml)
content/global/alerts/alert.js (resources/content/alert.js)

View File

@@ -18,7 +18,7 @@
using namespace mozilla;
#define ALERT_CHROME_URL "chrome://global/content/alerts/alert.xul"
#define ALERT_CHROME_URL "chrome://global/content/alerts/alert.xhtml"
namespace {
StaticRefPtr<nsXULAlerts> gXULAlerts;

View File

@@ -3,6 +3,6 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
toolkit.jar:
content/global/appPicker.xul (content/appPicker.xul)
content/global/appPicker.xhtml (content/appPicker.xhtml)
content/global/appPicker.js (content/appPicker.js)

View File

@@ -1287,7 +1287,7 @@ class HiddenXULWindow {
triggeringPrincipal: system,
};
chromeShell.loadURI(
"chrome://extensions/content/dummy.xul",
"chrome://extensions/content/dummy.xhtml",
loadURIOptions
);

View File

@@ -209,7 +209,7 @@ class ContentPage {
triggeringPrincipal: system,
};
chromeShell.loadURI(
"chrome://extensions/content/dummy.xul",
"chrome://extensions/content/dummy.xhtml",
loadURIOptions
);

View File

@@ -4,7 +4,7 @@
toolkit.jar:
% content extensions %content/extensions/
content/extensions/dummy.xul
content/extensions/dummy.xhtml
content/extensions/ext-browser-content.js
content/extensions/ext-toolkit.json
content/extensions/parent/ext-activityLog.js (parent/ext-activityLog.js)

View File

@@ -818,7 +818,7 @@ this.LoginHelper = {
win.focus();
} else {
window.openDialog(
"chrome://passwordmgr/content/passwordManager.xul",
"chrome://passwordmgr/content/passwordManager.xhtml",
"Toolkit:PasswordManager",
"",
{ filterString }

View File

@@ -4,6 +4,6 @@
toolkit.jar:
% content passwordmgr %content/passwordmgr/
* content/passwordmgr/passwordManager.xul (content/passwordManager.xul)
* content/passwordmgr/passwordManager.xhtml (content/passwordManager.xhtml)
content/passwordmgr/passwordManager.js (content/passwordManager.js)
content/passwordmgr/recipes.json (content/recipes.json)

View File

@@ -5,7 +5,7 @@
// This tests that the basic auth dialog can not be used for DOS attacks
// and that the protections are reset on user-initiated navigation/reload.
const PROMPT_URL = "chrome://global/content/commonDialog.xul";
const PROMPT_URL = "chrome://global/content/commonDialog.xhtml";
function promiseAuthWindowShown() {
return new Promise(resolve => {
let listener = {

View File

@@ -37,7 +37,7 @@ add_task(async function test() {
logins.forEach(login => Services.logins.addLogin(login));
// Open the password manager dialog
const PWMGR_DLG = "chrome://passwordmgr/content/passwordManager.xul";
const PWMGR_DLG = "chrome://passwordmgr/content/passwordManager.xhtml";
let pwmgrdlg = window.openDialog(PWMGR_DLG, "Toolkit:PasswordManager", "");
SimpleTest.waitForFocus(doTest, pwmgrdlg);

View File

@@ -1,7 +1,7 @@
const { ContentTaskUtils } = ChromeUtils.import(
"resource://testing-common/ContentTaskUtils.jsm"
);
const PWMGR_DLG = "chrome://passwordmgr/content/passwordManager.xul";
const PWMGR_DLG = "chrome://passwordmgr/content/passwordManager.xhtml";
var doc;
var pwmgr;

View File

@@ -24,7 +24,7 @@ add_task(async function test() {
Services.logins.addLogin(login);
// Open the password manager dialog
const PWMGR_DLG = "chrome://passwordmgr/content/passwordManager.xul";
const PWMGR_DLG = "chrome://passwordmgr/content/passwordManager.xhtml";
let pwmgrdlg = window.openDialog(PWMGR_DLG, "Toolkit:PasswordManager", "");
SimpleTest.waitForFocus(doTest, pwmgrdlg);

View File

@@ -12,7 +12,7 @@ add_task(async function test() {
"init"
);
let pmDialog = window.openDialog(
"chrome://passwordmgr/content/passwordManager.xul",
"chrome://passwordmgr/content/passwordManager.xhtml",
"Toolkit:PasswordManager",
""
);

View File

@@ -63,7 +63,7 @@ add_task(async function test() {
}
// Open the password manager dialog
const PWMGR_DLG = "chrome://passwordmgr/content/passwordManager.xul";
const PWMGR_DLG = "chrome://passwordmgr/content/passwordManager.xhtml";
let pwmgrdlg = window.openDialog(PWMGR_DLG, "Toolkit:PasswordManager", "");
SimpleTest.waitForFocus(doTest, pwmgrdlg);

View File

@@ -2,7 +2,7 @@
* 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/. */
const PROMPT_URL = "chrome://global/content/commonDialog.xul";
const PROMPT_URL = "chrome://global/content/commonDialog.xhtml";
add_task(async function test() {
await new Promise(resolve => {

View File

@@ -87,7 +87,7 @@ add_task(async function test() {
logins.forEach(login => Services.logins.addLogin(login));
// Open the password manager dialog
const PWMGR_DLG = "chrome://passwordmgr/content/passwordManager.xul";
const PWMGR_DLG = "chrome://passwordmgr/content/passwordManager.xhtml";
let pwmgrdlg = window.openDialog(PWMGR_DLG, "Toolkit:PasswordManager", "");
SimpleTest.waitForFocus(doTest, pwmgrdlg);

View File

@@ -19,7 +19,7 @@ async function focusWindow(win) {
function getDialogDoc() {
// Trudge through all the open windows, until we find the one
// that has either commonDialog.xul or selectDialog.xul loaded.
// that has either commonDialog.xhtml or selectDialog.xhtml loaded.
// var enumerator = Services.wm.getEnumerator("navigator:browser");
for (let { docShell } of Services.wm.getEnumerator(null)) {
var containedDocShells = docShell.getAllDocShellsInSubtree(
@@ -34,8 +34,9 @@ function getDialogDoc() {
}
var childDoc = childDocShell.contentViewer.DOMDocument;
if (
childDoc.location.href != "chrome://global/content/commonDialog.xul" &&
childDoc.location.href != "chrome://global/content/selectDialog.xul"
childDoc.location.href !=
"chrome://global/content/commonDialog.xhtml" &&
childDoc.location.href != "chrome://global/content/selectDialog.xhtml"
) {
continue;
}

View File

@@ -6,7 +6,7 @@
// Copied from prompt_common.js. TODO: share the code.
function getSelectDialogDoc() {
// Trudge through all the open windows, until we find the one
// that has selectDialog.xul loaded.
// that has selectDialog.xhtml loaded.
// var enumerator = Services.wm.getEnumerator("navigator:browser");
for (let { docShell } of Services.wm.getEnumerator(null)) {
var containedDocShells = docShell.getAllDocShellsInSubtree(
@@ -21,7 +21,7 @@ function getSelectDialogDoc() {
var childDoc = childDocShell.contentViewer.DOMDocument;
if (
childDoc.location.href == "chrome://global/content/selectDialog.xul"
childDoc.location.href == "chrome://global/content/selectDialog.xhtml"
) {
return childDoc;
}

View File

@@ -104,7 +104,7 @@ function onLoad() {
}
if (!printProgress) {
dump("Invalid argument to printPreviewProgress.xul\n");
dump("Invalid argument to printPreviewProgress.xhtml\n");
window.close();
return;
}

View File

@@ -177,7 +177,7 @@ function onLoad() {
}
if (!printProgress) {
dump("Invalid argument to printProgress.xul\n");
dump("Invalid argument to printProgress.xhtml\n");
window.close();
return;
}

View File

@@ -6,12 +6,12 @@ toolkit.jar:
#ifndef XP_MACOSX
#ifdef XP_WIN
content/global/printPageSetup.js (content/printPageSetup.js)
content/global/printPageSetup.xul (content/printPageSetup.xul)
content/global/printPageSetup.xhtml (content/printPageSetup.xhtml)
#endif
content/global/printPreviewProgress.js (content/printPreviewProgress.js)
content/global/printPreviewProgress.xul (content/printPreviewProgress.xul)
content/global/printPreviewProgress.xhtml (content/printPreviewProgress.xhtml)
content/global/printProgress.js (content/printProgress.js)
content/global/printProgress.xul (content/printProgress.xul)
content/global/printProgress.xhtml (content/printProgress.xhtml)
#endif
content/global/printPreviewToolbar.js (content/printPreviewToolbar.js)
content/global/printUtils.js (content/printUtils.js)

View File

@@ -20,9 +20,9 @@
# include "nsPrintProgressParams.h"
static const char* kPrintProgressDialogURL =
"chrome://global/content/printProgress.xul";
"chrome://global/content/printProgress.xhtml";
static const char* kPrtPrvProgressDialogURL =
"chrome://global/content/printPreviewProgress.xul";
"chrome://global/content/printPreviewProgress.xhtml";
#endif
using namespace mozilla;

View File

@@ -4,9 +4,9 @@
toolkit.jar:
content/global/commonDialog.js (content/commonDialog.js)
* content/global/commonDialog.xul (content/commonDialog.xul)
* content/global/commonDialog.xhtml (content/commonDialog.xhtml)
content/global/commonDialog.css (content/commonDialog.css)
content/global/selectDialog.js (content/selectDialog.js)
content/global/selectDialog.xul (content/selectDialog.xul)
content/global/selectDialog.xhtml (content/selectDialog.xhtml)
content/global/tabprompts.css (content/tabprompts.css)
content/global/tabprompts.jsm (content/tabprompts.jsm)

View File

@@ -680,8 +680,8 @@ ModalPrompter.prototype = {
return;
}
const COMMON_DIALOG = "chrome://global/content/commonDialog.xul";
const SELECT_DIALOG = "chrome://global/content/selectDialog.xul";
const COMMON_DIALOG = "chrome://global/content/commonDialog.xhtml";
const SELECT_DIALOG = "chrome://global/content/selectDialog.xhtml";
let uri = args.promptType == "select" ? SELECT_DIALOG : COMMON_DIALOG;
let propBag = PromptUtils.objectToPropBag(args);

View File

@@ -219,7 +219,7 @@ function dismissPrompt(ui, action) {
function getDialogDoc() {
// Trudge through all the open windows, until we find the one
// that has either commonDialog.xul or selectDialog.xul loaded.
// that has either commonDialog.xhtml or selectDialog.xhtml loaded.
// var enumerator = Services.wm.getEnumerator("navigator:browser");
for (let { docShell } of Services.wm.getEnumerator(null)) {
var containedDocShells = docShell.getAllDocShellsInSubtree(
@@ -235,8 +235,9 @@ function getDialogDoc() {
var childDoc = childDocShell.contentViewer.DOMDocument;
if (
childDoc.location.href != "chrome://global/content/commonDialog.xul" &&
childDoc.location.href != "chrome://global/content/selectDialog.xul"
childDoc.location.href !=
"chrome://global/content/commonDialog.xhtml" &&
childDoc.location.href != "chrome://global/content/selectDialog.xhtml"
) {
continue;
}

View File

@@ -3,5 +3,5 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
toolkit.jar:
content/global/config.xul (content/config.xul)
content/global/config.xhtml (content/config.xhtml)
content/global/config.js (content/config.js)

View File

@@ -200,7 +200,7 @@ function display(profileData) {
div.appendChild(sep);
}
// This is called from the createProfileWizard.xul dialog.
// This is called from the createProfileWizard.xhtml dialog.
function CreateProfile(profile) {
// The wizard created a profile, just make it the default.
defaultProfile(profile);
@@ -209,7 +209,7 @@ function CreateProfile(profile) {
function createProfileWizard() {
// This should be rewritten in HTML eventually.
window.docShell.rootTreeItem.domWindow.openDialog(
"chrome://mozapps/content/profile/createProfileWizard.xul",
"chrome://mozapps/content/profile/createProfileWizard.xhtml",
"",
"centerscreen,chrome,modal,titlebar",
ProfileService,

View File

@@ -770,7 +770,7 @@
// For now, don't load any elements in the extension dummy document.
// We will want to load <browser> when that's migrated (bug 1441935).
const isDummyDocument =
document.documentURI == "chrome://extensions/content/dummy.xul";
document.documentURI == "chrome://extensions/content/dummy.xhtml";
if (!isDummyDocument) {
for (let script of [
"chrome://global/content/elements/arrowscrollbox.js",

View File

@@ -52,8 +52,8 @@ toolkit.jar:
content/global/process-content.js
content/global/resetProfile.css
content/global/resetProfile.js
content/global/resetProfile.xul
content/global/resetProfileProgress.xul
content/global/resetProfile.xhtml
content/global/resetProfileProgress.xhtml
content/global/TopLevelVideoDocument.js
content/global/timepicker.xhtml
content/global/treeUtils.js

View File

@@ -11,7 +11,7 @@ const { PromiseUtils } = ChromeUtils.import(
);
const { Services } = ChromeUtils.import("resource://gre/modules/Services.jsm");
const XUL_PAGE = "chrome://global/content/win.xul";
const XUL_PAGE = "chrome://global/content/win.xhtml";
const gAllHiddenFrames = new Set();

View File

@@ -55,7 +55,7 @@ var ResetProfile = {
reset: false,
};
window.docShell.rootTreeItem.domWindow.openDialog(
"chrome://global/content/resetProfile.xul",
"chrome://global/content/resetProfile.xhtml",
null,
"modal,centerscreen,titlebar",
params

View File

@@ -3,4 +3,4 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
toolkit.jar:
content/global/win.xul (win.xul)
content/global/win.xhtml (win.xhtml)

View File

@@ -1185,7 +1185,7 @@ nsUnknownContentTypeDialog.prototype = {
params.handlerApp = null;
this.mDialog.openDialog(
"chrome://global/content/appPicker.xul",
"chrome://global/content/appPicker.xhtml",
null,
"chrome,modal,centerscreen,titlebar,dialog=yes",
params

View File

@@ -8,7 +8,7 @@ const RELATIVE_DIR = "toolkit/mozapps/extensions/test/xpinstall/";
const TESTROOT = "http://example.com/browser/" + RELATIVE_DIR;
const TESTROOT2 = "http://example.org/browser/" + RELATIVE_DIR;
const PROMPT_URL = "chrome://global/content/commonDialog.xul";
const PROMPT_URL = "chrome://global/content/commonDialog.xhtml";
const ADDONS_URL = "chrome://mozapps/content/extensions/extensions.xul";
const PREF_LOGGING_ENABLED = "extensions.logging.enabled";
const PREF_INSTALL_REQUIREBUILTINCERTS =

View File

@@ -207,7 +207,7 @@ function onProfilesDblClick(aEvent) {
// invoke the createProfile Wizard
function CreateProfileWizard() {
window.openDialog(
"chrome://mozapps/content/profile/createProfileWizard.xul",
"chrome://mozapps/content/profile/createProfileWizard.xhtml",
"",
"centerscreen,chrome,modal,titlebar",
gProfileService,

View File

@@ -4,10 +4,10 @@
toolkit.jar:
content/mozapps/profile/createProfileWizard.js (content/createProfileWizard.js)
* content/mozapps/profile/createProfileWizard.xul (content/createProfileWizard.xul)
* content/mozapps/profile/createProfileWizard.xhtml (content/createProfileWizard.xhtml)
content/mozapps/profile/profileSelection.js (content/profileSelection.js)
content/mozapps/profile/profileSelection.xul (content/profileSelection.xul)
content/mozapps/profile/profileSelection.xhtml (content/profileSelection.xhtml)
#ifdef MOZ_BLOCK_PROFILE_DOWNGRADE
content/mozapps/profile/profileDowngrade.js (content/profileDowngrade.js)
* content/mozapps/profile/profileDowngrade.xul (content/profileDowngrade.xul)
* content/mozapps/profile/profileDowngrade.xhtml (content/profileDowngrade.xhtml)
#endif

View File

@@ -9,7 +9,7 @@
static bool gProfileResetCleanupCompleted = false;
static const char kResetProgressURL[] =
"chrome://global/content/resetProfileProgress.xul";
"chrome://global/content/resetProfileProgress.xhtml";
nsresult ProfileResetCleanup(nsToolkitProfileService* aService,
nsIToolkitProfile* aOldProfile);

View File

@@ -1796,7 +1796,7 @@ static ReturnAbortOnError ProfileLockedDialog(nsIFile* aProfileDir,
}
static const char kProfileManagerURL[] =
"chrome://mozapps/content/profile/profileSelection.xul";
"chrome://mozapps/content/profile/profileSelection.xhtml";
static ReturnAbortOnError ShowProfileManager(
nsIToolkitProfileService* aProfileSvc, nsINativeAppSupport* aNative) {
@@ -2184,7 +2184,7 @@ static void SubmitDowngradeTelemetry(const nsCString& aLastVersion,
}
static const char kProfileDowngradeURL[] =
"chrome://mozapps/content/profile/profileDowngrade.xul";
"chrome://mozapps/content/profile/profileDowngrade.xhtml";
static ReturnAbortOnError CheckDowngrade(nsIFile* aProfileDir,
nsINativeAppSupport* aNative,

View File

@@ -23,7 +23,7 @@
#include "nsQueryObject.h"
static const char* kPageSetupDialogURL =
"chrome://global/content/printPageSetup.xul";
"chrome://global/content/printPageSetup.xhtml";
using namespace mozilla;
using namespace mozilla::widget;