Bug 1609821 - Make about:about an HTML file r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D64604

--HG--
rename : toolkit/content/aboutAbout.xhtml => toolkit/content/aboutAbout.html
extra : moz-landing-system : lando
This commit is contained in:
Jason Adler 2020-02-28 17:40:09 +00:00
parent 4b3731befe
commit 8c765e09a1
3 changed files with 8 additions and 7 deletions

View File

@ -59,7 +59,7 @@ class CrashChannel final : public nsBaseChannel {
for that you need MAKE_LINKABLE.
*/
static const RedirEntry kRedirMap[] = {
{"about", "chrome://global/content/aboutAbout.xhtml", 0},
{"about", "chrome://global/content/aboutAbout.html", 0},
{"addons", "chrome://mozapps/content/extensions/extensions.xhtml",
nsIAboutModule::ALLOW_SCRIPT},
{"buildconfig", "chrome://global/content/buildconfig.html",

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<!DOCTYPE html>
<!-- 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
@ -7,10 +7,11 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Security-Policy" content="default-src chrome:; object-src 'none'" />
<meta charset="utf-8">
<meta http-equiv="Content-Security-Policy" content="default-src chrome:; object-src 'none'" >
<title data-l10n-id="about-about-title"></title>
<link rel="stylesheet" href="chrome://global/skin/in-content/info-pages.css" type="text/css"/>
<link rel="localization" href="toolkit/about/aboutAbout.ftl"/>
<link rel="stylesheet" href="chrome://global/skin/in-content/info-pages.css">
<link rel="localization" href="toolkit/about/aboutAbout.ftl">
<script src="chrome://global/content/aboutAbout.js"></script>
</head>

View File

@ -5,7 +5,7 @@ toolkit.jar:
* content/global/xul.css
content/global/autocomplete.css
content/global/aboutAbout.js
content/global/aboutAbout.xhtml
content/global/aboutAbout.html
#ifdef MOZILLA_OFFICIAL
content/global/aboutRights.xhtml
#else