зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1601094, rename the remaining .xul files in browser/ to .xhtml r=marionette-reviewers,whimboo,mossop
Differential Revision: https://phabricator.services.mozilla.com/D55751 --HG-- rename : browser/base/content/aboutDialog.xul => browser/base/content/aboutDialog.xhtml rename : browser/base/content/newInstall.xul => browser/base/content/newInstall.xhtml rename : browser/base/content/pageinfo/pageInfo.xul => browser/base/content/pageinfo/pageInfo.xhtml rename : browser/base/content/safeMode.xul => browser/base/content/safeMode.xhtml rename : browser/base/content/sanitize.xul => browser/base/content/sanitize.xhtml rename : browser/base/content/titlebar-items.inc.xul => browser/base/content/titlebar-items.inc.xhtml rename : browser/base/content/webext-panels.xul => browser/base/content/webext-panels.xhtml rename : browser/base/content/webrtcIndicator.xul => browser/base/content/webrtcIndicator.xhtml rename : browser/components/downloads/content/contentAreaDownloadsView.xul => browser/components/downloads/content/contentAreaDownloadsView.xhtml rename : browser/components/migration/content/migration.xul => browser/components/migration/content/migration.xhtml rename : browser/components/places/content/bookmarkProperties.xul => browser/components/places/content/bookmarkProperties.xhtml rename : browser/components/places/content/bookmarksSidebar.xul => browser/components/places/content/bookmarksSidebar.xhtml rename : browser/components/places/content/historySidebar.xul => browser/components/places/content/historySidebar.xhtml rename : browser/components/places/content/places.xul => browser/components/places/content/places.xhtml rename : browser/components/shell/content/setDesktopBackground.xul => browser/components/shell/content/setDesktopBackground.xhtml extra : moz-landing-system : lando
This commit is contained in:
Родитель
652f3b0296
Коммит
57215abe07
|
@ -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/. */
|
||||
|
||||
// Note: this file is included in aboutDialog.xul and preferences/advanced.xhtml
|
||||
// Note: this file is included in aboutDialog.xhtml and preferences/advanced.xhtml
|
||||
// if MOZ_UPDATER is defined.
|
||||
|
||||
/* import-globals-from aboutDialog.js */
|
||||
|
|
|
@ -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/. */
|
||||
|
||||
// Note: this file is included in aboutDialog.xul and preferences/advanced.xhtml
|
||||
// Note: this file is included in aboutDialog.xhtml and preferences/advanced.xhtml
|
||||
// if MOZ_UPDATER is defined.
|
||||
|
||||
/* import-globals-from aboutDialog.js */
|
||||
|
|
|
@ -608,7 +608,7 @@ var PlacesCommandHook = {
|
|||
if (!organizer || organizer.closed) {
|
||||
// No currently open places window, so open one with the specified mode.
|
||||
openDialog(
|
||||
"chrome://browser/content/places/places.xul",
|
||||
"chrome://browser/content/places/places.xhtml",
|
||||
"",
|
||||
"chrome,toolbar=yes,dialog=no,resizable",
|
||||
item
|
||||
|
|
|
@ -17,7 +17,7 @@ var SidebarUI = {
|
|||
title: document
|
||||
.getElementById("sidebar-switcher-bookmarks")
|
||||
.getAttribute("label"),
|
||||
url: "chrome://browser/content/places/bookmarksSidebar.xul",
|
||||
url: "chrome://browser/content/places/bookmarksSidebar.xhtml",
|
||||
menuId: "menu_bookmarksSidebar",
|
||||
buttonId: "sidebar-switcher-bookmarks",
|
||||
},
|
||||
|
@ -28,7 +28,7 @@ var SidebarUI = {
|
|||
title: document
|
||||
.getElementById("sidebar-switcher-history")
|
||||
.getAttribute("label"),
|
||||
url: "chrome://browser/content/places/historySidebar.xul",
|
||||
url: "chrome://browser/content/places/historySidebar.xhtml",
|
||||
menuId: "menu_historySidebar",
|
||||
buttonId: "sidebar-switcher-history",
|
||||
triggerButtonId: "appMenuViewHistorySidebar",
|
||||
|
|
|
@ -168,7 +168,7 @@ var gSync = {
|
|||
return;
|
||||
}
|
||||
// We start with every menuitem hidden (except for the "setup sync" state),
|
||||
// so that we don't need to init the sync UI on windows like pageInfo.xul
|
||||
// so that we don't need to init the sync UI on windows like pageInfo.xhtml
|
||||
// (see bug 1384856).
|
||||
// maybeUpdateUIState() also optimizes for this - if we should be in the
|
||||
// "setup sync" state, that function assumes we are already in it and
|
||||
|
|
|
@ -3240,7 +3240,7 @@ function BrowserPageInfo(
|
|||
|
||||
// We didn't find a matching window, so open a new one.
|
||||
return openDialog(
|
||||
"chrome://browser/content/pageinfo/pageInfo.xul",
|
||||
"chrome://browser/content/pageinfo/pageInfo.xhtml",
|
||||
"",
|
||||
"chrome,toolbar,dialog=no,resizable",
|
||||
args
|
||||
|
|
|
@ -694,7 +694,7 @@
|
|||
#include browser-menubar.inc
|
||||
</toolbaritem>
|
||||
<spacer flex="1" skipintoolbarset="true" ordinal="1000"/>
|
||||
#include titlebar-items.inc.xul
|
||||
#include titlebar-items.inc.xhtml
|
||||
</toolbar>
|
||||
|
||||
<toolbar id="TabsToolbar"
|
||||
|
@ -763,7 +763,7 @@
|
|||
<hbox class="private-browsing-indicator"/>
|
||||
#endif
|
||||
|
||||
#include titlebar-items.inc.xul
|
||||
#include titlebar-items.inc.xhtml
|
||||
|
||||
#ifdef XP_MACOSX
|
||||
<!-- OS X does not natively support RTL for its titlebar items, so we prevent this secondary
|
||||
|
|
|
@ -1332,7 +1332,7 @@ class nsContextMenu {
|
|||
|
||||
// Confirm since it's annoying if you hit this accidentally.
|
||||
const kDesktopBackgroundURL =
|
||||
"chrome://browser/content/setDesktopBackground.xul";
|
||||
"chrome://browser/content/setDesktopBackground.xhtml";
|
||||
|
||||
if (AppConstants.platform == "macosx") {
|
||||
// On Mac, the Set Desktop Background window is not modal.
|
||||
|
|
|
@ -778,7 +778,7 @@ WindowHelper.prototype = {
|
|||
|
||||
Services.ww.openWindow(
|
||||
browserWin,
|
||||
"chrome://browser/content/sanitize.xul",
|
||||
"chrome://browser/content/sanitize.xhtml",
|
||||
"SanitizeDialog",
|
||||
"chrome,titlebar,dialog,centerscreen,modal",
|
||||
null
|
||||
|
|
|
@ -49,7 +49,8 @@ function promiseIndicatorWindow() {
|
|||
"load",
|
||||
function() {
|
||||
if (
|
||||
win.location.href !== "chrome://browser/content/webrtcIndicator.xul"
|
||||
win.location.href !==
|
||||
"chrome://browser/content/webrtcIndicator.xhtml"
|
||||
) {
|
||||
info("ignoring a window with this url: " + win.location.href);
|
||||
return;
|
||||
|
|
|
@ -991,7 +991,7 @@ function openAboutDialog() {
|
|||
features += "centerscreen,dependent,dialog=no";
|
||||
}
|
||||
|
||||
window.openDialog("chrome://browser/content/aboutDialog.xul", "", features);
|
||||
window.openDialog("chrome://browser/content/aboutDialog.xhtml", "", features);
|
||||
}
|
||||
|
||||
function openPreferences(paneID, extraArgs) {
|
||||
|
|
|
@ -3,7 +3,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/. */
|
||||
|
||||
// Via webext-panels.xul
|
||||
// Via webext-panels.xhtml
|
||||
/* import-globals-from browser.js */
|
||||
/* import-globals-from nsContextMenu.js */
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ browser.jar:
|
|||
|
||||
content/browser/aboutDialog-appUpdater.js (content/aboutDialog-appUpdater.js)
|
||||
content/browser/aboutDialog-appUpdater-legacy.js (content/aboutDialog-appUpdater-legacy.js)
|
||||
* content/browser/aboutDialog.xul (content/aboutDialog.xul)
|
||||
* content/browser/aboutDialog.xhtml (content/aboutDialog.xhtml)
|
||||
content/browser/aboutDialog.js (content/aboutDialog.js)
|
||||
content/browser/aboutDialog.css (content/aboutDialog.css)
|
||||
content/browser/aboutRestartRequired.js (content/aboutRestartRequired.js)
|
||||
|
@ -79,7 +79,7 @@ browser.jar:
|
|||
content/browser/defaultthemes/5.icon.jpg (content/defaultthemes/5.icon.jpg)
|
||||
content/browser/defaultthemes/5.preview.jpg (content/defaultthemes/5.preview.jpg)
|
||||
content/browser/history-swipe-arrow.svg (content/history-swipe-arrow.svg)
|
||||
* content/browser/pageinfo/pageInfo.xul (content/pageinfo/pageInfo.xul)
|
||||
* content/browser/pageinfo/pageInfo.xhtml (content/pageinfo/pageInfo.xhtml)
|
||||
content/browser/pageinfo/pageInfo.js (content/pageinfo/pageInfo.js)
|
||||
content/browser/pageinfo/pageInfo.css (content/pageinfo/pageInfo.css)
|
||||
content/browser/pageinfo/permissions.js (content/pageinfo/permissions.js)
|
||||
|
@ -89,8 +89,8 @@ browser.jar:
|
|||
content/browser/static-robot.png (content/static-robot.png)
|
||||
content/browser/safeMode.css (content/safeMode.css)
|
||||
content/browser/safeMode.js (content/safeMode.js)
|
||||
content/browser/safeMode.xul (content/safeMode.xul)
|
||||
content/browser/sanitize.xul (content/sanitize.xul)
|
||||
content/browser/safeMode.xhtml (content/safeMode.xhtml)
|
||||
content/browser/sanitize.xhtml (content/sanitize.xhtml)
|
||||
content/browser/sanitizeDialog.js (content/sanitizeDialog.js)
|
||||
content/browser/sanitizeDialog.css (content/sanitizeDialog.css)
|
||||
content/browser/contentSearchUI.js (content/contentSearchUI.js)
|
||||
|
@ -101,7 +101,7 @@ browser.jar:
|
|||
content/browser/tabbrowser-tabs.js (content/tabbrowser-tabs.js)
|
||||
content/browser/utilityOverlay.js (content/utilityOverlay.js)
|
||||
content/browser/webext-panels.js (content/webext-panels.js)
|
||||
* content/browser/webext-panels.xul (content/webext-panels.xul)
|
||||
* content/browser/webext-panels.xhtml (content/webext-panels.xhtml)
|
||||
content/browser/nsContextMenu.js (content/nsContextMenu.js)
|
||||
content/browser/contentTheme.js (content/contentTheme.js)
|
||||
#ifdef XP_MACOSX
|
||||
|
@ -110,7 +110,7 @@ browser.jar:
|
|||
content/browser/nonbrowser-mac.js (content/nonbrowser-mac.js)
|
||||
#endif
|
||||
#ifndef XP_MACOSX
|
||||
* content/browser/webrtcIndicator.xul (content/webrtcIndicator.xul)
|
||||
* content/browser/webrtcIndicator.xhtml (content/webrtcIndicator.xhtml)
|
||||
content/browser/webrtcIndicator.js (content/webrtcIndicator.js)
|
||||
#endif
|
||||
# the following files are browser-specific overrides
|
||||
|
@ -118,7 +118,7 @@ browser.jar:
|
|||
% override chrome://global/content/license.html chrome://browser/content/license.html
|
||||
content/browser/blockedSite.xhtml (content/blockedSite.xhtml)
|
||||
content/browser/blockedSite.js (content/blockedSite.js)
|
||||
content/browser/newInstall.xul (content/newInstall.xul)
|
||||
content/browser/newInstall.xhtml (content/newInstall.xhtml)
|
||||
content/browser/newInstall.js (content/newInstall.js)
|
||||
content/browser/newInstallPage.html (content/newInstallPage.html)
|
||||
content/browser/newInstallPage.js (content/newInstallPage.js)
|
||||
|
|
|
@ -165,8 +165,8 @@ let ACTORS = {
|
|||
"about:newtab",
|
||||
"about:welcome",
|
||||
"chrome://browser/content/syncedtabs/sidebar.xhtml",
|
||||
"chrome://browser/content/places/historySidebar.xul",
|
||||
"chrome://browser/content/places/bookmarksSidebar.xul",
|
||||
"chrome://browser/content/places/historySidebar.xhtml",
|
||||
"chrome://browser/content/places/bookmarksSidebar.xhtml",
|
||||
],
|
||||
},
|
||||
|
||||
|
@ -1147,7 +1147,7 @@ BrowserGlue.prototype = {
|
|||
if (Services.appinfo.inSafeMode) {
|
||||
Services.ww.openWindow(
|
||||
null,
|
||||
"chrome://browser/content/safeMode.xul",
|
||||
"chrome://browser/content/safeMode.xhtml",
|
||||
"_blank",
|
||||
"chrome,centerscreen,modal,resizable=no",
|
||||
null
|
||||
|
@ -1918,7 +1918,7 @@ BrowserGlue.prototype = {
|
|||
|
||||
Services.ww.openWindow(
|
||||
win,
|
||||
"chrome://browser/content/newInstall.xul",
|
||||
"chrome://browser/content/newInstall.xhtml",
|
||||
"_blank",
|
||||
"chrome,modal,resizable=no,centerscreen",
|
||||
null
|
||||
|
|
|
@ -109,7 +109,7 @@ static const RedirEntry kRedirMap[] = {
|
|||
"chrome://browser/content/preferences/in-content/preferences.xhtml",
|
||||
nsIAboutModule::ALLOW_SCRIPT},
|
||||
{"downloads",
|
||||
"chrome://browser/content/downloads/contentAreaDownloadsView.xul",
|
||||
"chrome://browser/content/downloads/contentAreaDownloadsView.xhtml",
|
||||
nsIAboutModule::ALLOW_SCRIPT},
|
||||
{"reader", "chrome://global/content/reader/aboutReader.html",
|
||||
nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT |
|
||||
|
|
|
@ -7,7 +7,7 @@ browser.jar:
|
|||
content/browser/downloads/downloads.js (content/downloads.js)
|
||||
content/browser/downloads/indicator.js (content/indicator.js)
|
||||
content/browser/downloads/allDownloadsView.js (content/allDownloadsView.js)
|
||||
* content/browser/downloads/contentAreaDownloadsView.xul (content/contentAreaDownloadsView.xul)
|
||||
* content/browser/downloads/contentAreaDownloadsView.xhtml (content/contentAreaDownloadsView.xhtml)
|
||||
content/browser/downloads/contentAreaDownloadsView.js (content/contentAreaDownloadsView.js)
|
||||
content/browser/downloads/contentAreaDownloadsView.css (content/contentAreaDownloadsView.css)
|
||||
content/browser/downloads/downloadsCommands.js (content/downloadsCommands.js)
|
||||
|
|
|
@ -184,7 +184,7 @@ function httpUrl(aFileName) {
|
|||
|
||||
function openLibrary(aLeftPaneRoot) {
|
||||
let library = window.openDialog(
|
||||
"chrome://browser/content/places/places.xul",
|
||||
"chrome://browser/content/places/places.xhtml",
|
||||
"",
|
||||
"chrome,toolbar=yes,dialog=no,resizable",
|
||||
aLeftPaneRoot
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
async function openLibrary() {
|
||||
return new Promise(resolve => {
|
||||
let library = window.openDialog(
|
||||
"chrome://browser/content/places/places.xul",
|
||||
"chrome://browser/content/places/places.xhtml",
|
||||
"",
|
||||
"chrome,toolbar=yes,dialog=no,resizable"
|
||||
);
|
||||
|
|
|
@ -72,7 +72,7 @@ function waitForAboutDialog() {
|
|||
|
||||
async function aboutDialogOnLoad() {
|
||||
domwindow.removeEventListener("load", aboutDialogOnLoad, true);
|
||||
let chromeURI = "chrome://browser/content/aboutDialog.xul";
|
||||
let chromeURI = "chrome://browser/content/aboutDialog.xhtml";
|
||||
is(
|
||||
domwindow.document.location.href,
|
||||
chromeURI,
|
||||
|
|
|
@ -20,7 +20,7 @@ var { IconDetails, watchExtensionProxyContextLoad } = ExtensionParent;
|
|||
|
||||
var { promiseDocumentLoaded } = ExtensionUtils;
|
||||
|
||||
const WEBEXT_PANELS_URL = "chrome://browser/content/webext-panels.xul";
|
||||
const WEBEXT_PANELS_URL = "chrome://browser/content/webext-panels.xhtml";
|
||||
|
||||
class BaseDevToolsPanel {
|
||||
constructor(context, panelOptions) {
|
||||
|
@ -447,7 +447,7 @@ class ParentDevToolsInspectorSidebar extends BaseDevToolsPanel {
|
|||
onExtensionPageMount(containerEl) {
|
||||
this.containerEl = containerEl;
|
||||
|
||||
// Wait the webext-panel.xul page to have been loaded in the
|
||||
// Wait the webext-panel.xhtml page to have been loaded in the
|
||||
// inspector sidebar panel.
|
||||
promiseDocumentLoaded(containerEl.contentDocument).then(() => {
|
||||
this.createBrowserElement(containerEl.contentWindow);
|
||||
|
|
|
@ -17,7 +17,7 @@ var { IconDetails } = ExtensionParent;
|
|||
// WeakMap[Extension -> SidebarAction]
|
||||
let sidebarActionMap = new WeakMap();
|
||||
|
||||
const sidebarURL = "chrome://browser/content/webext-panels.xul";
|
||||
const sidebarURL = "chrome://browser/content/webext-panels.xhtml";
|
||||
|
||||
/**
|
||||
* Responsible for the sidebar_action section of the manifest as well
|
||||
|
|
|
@ -996,7 +996,7 @@ var MigrationUtils = Object.freeze({
|
|||
|
||||
Services.ww.openWindow(
|
||||
aOpener,
|
||||
"chrome://browser/content/migration/migration.xul",
|
||||
"chrome://browser/content/migration/migration.xhtml",
|
||||
"_blank",
|
||||
features,
|
||||
params
|
||||
|
@ -1018,7 +1018,7 @@ var MigrationUtils = Object.freeze({
|
|||
* browser selected, if it could be detected and if there is a
|
||||
* migrator for it, or with the first option selected as a fallback
|
||||
* (The first option is hardcoded to be the most common browser for
|
||||
* the OS we run on. See migration.xul).
|
||||
* the OS we run on. See migration.xhtml).
|
||||
* @param [optional] aProfileToMigrate
|
||||
* If set, the migration wizard will import from the profile indicated.
|
||||
* @throws if aMigratorKey is invalid or if it points to a non-existent
|
||||
|
|
|
@ -3,6 +3,6 @@
|
|||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
browser.jar:
|
||||
* content/browser/migration/migration.xul (content/migration.xul)
|
||||
* content/browser/migration/migration.xhtml (content/migration.xhtml)
|
||||
content/browser/migration/migration.js (content/migration.js)
|
||||
content/browser/aboutWelcomeBack.xhtml (content/aboutWelcomeBack.xhtml)
|
||||
|
|
|
@ -21,7 +21,7 @@ XPCOMUtils.defineLazyServiceGetter(
|
|||
const IS_RELEASE_OR_BETA = AppConstants.RELEASE_OR_BETA;
|
||||
|
||||
const DOWNLOADS_URL =
|
||||
"chrome://browser/content/downloads/contentAreaDownloadsView.xul";
|
||||
"chrome://browser/content/downloads/contentAreaDownloadsView.xhtml";
|
||||
const SEPARATE_PRIVILEGED_CONTENT_PROCESS_PREF =
|
||||
"browser.tabs.remote.separatePrivilegedContentProcess";
|
||||
const ACTIVITY_STREAM_DEBUG_PREF = "browser.newtabpage.activity-stream.debug";
|
||||
|
|
|
@ -310,8 +310,8 @@ var PlacesUIUtils = {
|
|||
!("hiddenRows" in aInfo) || !aInfo.hiddenRows.includes("folderPicker");
|
||||
// Use a different chrome url to persist different sizes.
|
||||
let dialogURL = hasFolderPicker
|
||||
? "chrome://browser/content/places/bookmarkProperties2.xul"
|
||||
: "chrome://browser/content/places/bookmarkProperties.xul";
|
||||
? "chrome://browser/content/places/bookmarkProperties2.xhtml"
|
||||
: "chrome://browser/content/places/bookmarkProperties.xhtml";
|
||||
|
||||
let features = "centerscreen,chrome,modal,resizable=yes";
|
||||
|
||||
|
|
|
@ -124,7 +124,7 @@ function searchHistory(aInput) {
|
|||
}
|
||||
|
||||
// call load() on the tree manually
|
||||
// instead of setting the place attribute in historySidebar.xul
|
||||
// instead of setting the place attribute in historySidebar.xhtml
|
||||
// otherwise, we will end up calling load() twice
|
||||
gHistoryTree.load(query, options);
|
||||
|
||||
|
|
|
@ -5,19 +5,19 @@
|
|||
browser.jar:
|
||||
# Provide another URI for the bookmarkProperties dialog so we can persist the
|
||||
# attributes separately
|
||||
* content/browser/places/bookmarkProperties2.xul (content/bookmarkProperties.xul)
|
||||
* content/browser/places/places.xul (content/places.xul)
|
||||
* content/browser/places/bookmarkProperties2.xhtml (content/bookmarkProperties.xhtml)
|
||||
* content/browser/places/places.xhtml (content/places.xhtml)
|
||||
content/browser/places/places.js (content/places.js)
|
||||
content/browser/places/places.css (content/places.css)
|
||||
* content/browser/places/bookmarkProperties.xul (content/bookmarkProperties.xul)
|
||||
* content/browser/places/bookmarkProperties.xhtml (content/bookmarkProperties.xhtml)
|
||||
content/browser/places/bookmarkProperties.js (content/bookmarkProperties.js)
|
||||
content/browser/places/places-menupopup.js (content/places-menupopup.js)
|
||||
content/browser/places/places-tree.js (content/places-tree.js)
|
||||
content/browser/places/controller.js (content/controller.js)
|
||||
content/browser/places/treeView.js (content/treeView.js)
|
||||
content/browser/places/browserPlacesViews.js (content/browserPlacesViews.js)
|
||||
* content/browser/places/historySidebar.xul (content/historySidebar.xul)
|
||||
* content/browser/places/historySidebar.xhtml (content/historySidebar.xhtml)
|
||||
content/browser/places/historySidebar.js (content/historySidebar.js)
|
||||
* content/browser/places/bookmarksSidebar.xul (content/bookmarksSidebar.xul)
|
||||
* content/browser/places/bookmarksSidebar.xhtml (content/bookmarksSidebar.xhtml)
|
||||
content/browser/places/bookmarksSidebar.js (content/bookmarksSidebar.js)
|
||||
content/browser/places/editBookmark.js (content/editBookmark.js)
|
||||
|
|
|
@ -31,9 +31,9 @@ const TYPE_BOOKMARK = 1;
|
|||
|
||||
const TEST_URL = "http://www.example.com/";
|
||||
|
||||
const DIALOG_URL = "chrome://browser/content/places/bookmarkProperties.xul";
|
||||
const DIALOG_URL = "chrome://browser/content/places/bookmarkProperties.xhtml";
|
||||
const DIALOG_URL_MINIMAL_UI =
|
||||
"chrome://browser/content/places/bookmarkProperties2.xul";
|
||||
"chrome://browser/content/places/bookmarkProperties2.xhtml";
|
||||
|
||||
const { BrowserWindowTracker } = ChromeUtils.import(
|
||||
"resource:///modules/BrowserWindowTracker.jsm"
|
||||
|
|
|
@ -11,7 +11,7 @@ ChromeUtils.defineModuleGetter(
|
|||
|
||||
function openLibrary(callback, aLeftPaneRoot) {
|
||||
let library = window.openDialog(
|
||||
"chrome://browser/content/places/places.xul",
|
||||
"chrome://browser/content/places/places.xhtml",
|
||||
"",
|
||||
"chrome,toolbar=yes,dialog=no,resizable",
|
||||
aLeftPaneRoot
|
||||
|
|
|
@ -1342,7 +1342,7 @@ var gPrivacyPane = {
|
|||
}
|
||||
|
||||
gSubDialog.open(
|
||||
"chrome://browser/content/sanitize.xul",
|
||||
"chrome://browser/content/sanitize.xhtml",
|
||||
"resizable=no",
|
||||
null,
|
||||
() => {
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
add_task(async function() {
|
||||
let win = await BrowserTestUtils.openNewBrowserWindow({ private: true });
|
||||
let chromeWin = win.open(
|
||||
"chrome://browser/content/places/places.xul",
|
||||
"chrome://browser/content/places/places.xhtml",
|
||||
"_blank",
|
||||
"chrome,extrachrome,menubar,resizable,scrollbars,status,toolbar"
|
||||
);
|
||||
|
|
|
@ -3,5 +3,5 @@
|
|||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
browser.jar:
|
||||
* content/browser/setDesktopBackground.xul (content/setDesktopBackground.xul)
|
||||
* content/browser/setDesktopBackground.xhtml (content/setDesktopBackground.xhtml)
|
||||
content/browser/setDesktopBackground.js (content/setDesktopBackground.js)
|
||||
|
|
|
@ -68,7 +68,7 @@ add_task(async function checkDragForbiddenURL() {
|
|||
// examples. In general we trust that function, we pick some testcases to
|
||||
// ensure we disallow dropping trimmed text.
|
||||
for (let url of [
|
||||
"chrome://browser/content/aboutDialog.xul",
|
||||
"chrome://browser/content/aboutDialog.xhtml",
|
||||
"file:///",
|
||||
"javascript:",
|
||||
"javascript:void(0)",
|
||||
|
|
|
@ -44,7 +44,7 @@ async function checkExtension(isPrivate = false) {
|
|||
function() {
|
||||
if (
|
||||
subj.document.documentURI ==
|
||||
"chrome://browser/content/sanitize.xul"
|
||||
"chrome://browser/content/sanitize.xhtml"
|
||||
) {
|
||||
Services.ww.unregisterNotification(onOpen);
|
||||
Assert.ok(true, "Observed Clear Recent History window open");
|
||||
|
|
|
@ -17,8 +17,8 @@ browser/chrome/browser/content/branding/icon48.png
|
|||
browser/chrome/browser/content/branding/icon64.png
|
||||
browser/chrome/browser/content/browser/defaultthemes/5.header.png
|
||||
browser/chrome/browser/content/browser/extension.svg
|
||||
browser/chrome/browser/content/browser/places/bookmarkProperties.xul
|
||||
browser/chrome/browser/content/browser/places/bookmarkProperties2.xul
|
||||
browser/chrome/browser/content/browser/places/bookmarkProperties.xhtml
|
||||
browser/chrome/browser/content/browser/places/bookmarkProperties2.xhtml
|
||||
browser/chrome/browser/skin/classic/browser/addons/addon-install-confirm.svg
|
||||
browser/chrome/browser/skin/classic/browser/connection-secure.svg
|
||||
browser/chrome/browser/skin/classic/browser/controlcenter/warning-gray.svg
|
||||
|
|
|
@ -123,7 +123,7 @@ var Sanitizer = {
|
|||
: parentWindow;
|
||||
Services.ww.openWindow(
|
||||
win,
|
||||
"chrome://browser/content/sanitize.xul",
|
||||
"chrome://browser/content/sanitize.xhtml",
|
||||
"Sanitize",
|
||||
"chrome,titlebar,dialog,centerscreen,modal",
|
||||
null
|
||||
|
|
|
@ -1332,7 +1332,8 @@ function removePrompt(aBrowser, aCallId) {
|
|||
|
||||
function getGlobalIndicator() {
|
||||
if (AppConstants.platform != "macosx") {
|
||||
const INDICATOR_CHROME_URI = "chrome://browser/content/webrtcIndicator.xul";
|
||||
const INDICATOR_CHROME_URI =
|
||||
"chrome://browser/content/webrtcIndicator.xhtml";
|
||||
const features = "chrome,dialog=yes,titlebar=no,popup=yes";
|
||||
|
||||
return Services.ww.openWindow(
|
||||
|
|
|
@ -2552,7 +2552,7 @@ bool nsFrameLoader::TryRemoteBrowserInternal() {
|
|||
specIgnoringRef.EqualsLiteral(
|
||||
"chrome://mozapps/content/extensions/aboutaddons.html") ||
|
||||
specIgnoringRef.EqualsLiteral(
|
||||
"chrome://browser/content/webext-panels.xul"))) {
|
||||
"chrome://browser/content/webext-panels.xhtml"))) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -68,7 +68,7 @@ class TestWindows(PuppeteerMixin, MarionetteTestCase):
|
|||
def open_by_js(_):
|
||||
with self.marionette.using_context('chrome'):
|
||||
self.marionette.execute_script("""
|
||||
window.open('chrome://browser/content/safeMode.xul', '_blank',
|
||||
window.open('chrome://browser/content/safeMode.xhtml', '_blank',
|
||||
'chrome,centerscreen,resizable=no');
|
||||
""")
|
||||
|
||||
|
|
|
@ -510,7 +510,7 @@ function waitForAboutDialog() {
|
|||
|
||||
async function aboutDialogOnLoad() {
|
||||
domwindow.removeEventListener("load", aboutDialogOnLoad, true);
|
||||
let chromeURI = "chrome://browser/content/aboutDialog.xul";
|
||||
let chromeURI = "chrome://browser/content/aboutDialog.xhtml";
|
||||
is(
|
||||
domwindow.document.location.href,
|
||||
chromeURI,
|
||||
|
|
Загрузка…
Ссылка в новой задаче