Bug 1609823 Make about:crashes an HTML file r=ntim

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

--HG--
rename : toolkit/crashreporter/content/crashes.xhtml => toolkit/crashreporter/content/crashes.html
extra : moz-landing-system : lando
This commit is contained in:
Jason Adler 2020-03-11 19:15:12 +00:00
Родитель 6aff1e4070
Коммит f7585987c9
3 изменённых файлов: 9 добавлений и 10 удалений

Просмотреть файл

@ -71,7 +71,7 @@ static const RedirEntry kRedirMap[] = {
{"config", "chrome://global/content/config.xhtml", 0},
#endif
#ifdef MOZ_CRASHREPORTER
{"crashes", "chrome://global/content/crashes.xhtml", 0},
{"crashes", "chrome://global/content/crashes.html", 0},
#endif
{"credits", "https://www.mozilla.org/credits/",
nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT},

Просмотреть файл

@ -1,17 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- 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/. -->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<html>
<head>
<meta http-equiv="Content-Security-Policy" content="default-src chrome:; object-src 'none'" />
<link rel="localization" href="crashreporter/aboutcrashes.ftl"/>
<link rel="stylesheet" type="text/css" href="chrome://global/content/crashes.css"/>
<link rel="stylesheet" media="screen, projection" type="text/css"
href="chrome://global/skin/in-content/common.css"/>
<script src="chrome://global/content/crashes.js"/>
<meta http-equiv="Content-Security-Policy" content="default-src chrome:; object-src 'none'">
<meta charset="utf-8">
<link rel="localization" href="crashreporter/aboutcrashes.ftl">
<link rel="stylesheet" href="chrome://global/content/crashes.css">
<link rel="stylesheet" media="screen, projection" href="chrome://global/skin/in-content/common.css">
<script src="chrome://global/content/crashes.js"></script>
<title data-l10n-id="crash-reports-title"></title>
</head>

Просмотреть файл

@ -4,7 +4,7 @@
toolkit.jar:
#ifdef MOZ_CRASHREPORTER
content/global/crashes.xhtml (content/crashes.xhtml)
content/global/crashes.html (content/crashes.html)
content/global/crashes.js (content/crashes.js)
content/global/crashes.css (content/crashes.css)
#endif