Bug 1803607 - Move the about:logging code to its own subdirectory r=canaltinova,desktop-theme-reviewers,Itiel
This will make it possible to add some utilitary javascript files without cluttering the main directory toolkit/content. This also moves the CSS file to a location that ships to Android. Differential Revision: https://phabricator.services.mozilla.com/D243363
This commit is contained in:
@@ -128,7 +128,7 @@ static const RedirEntry kRedirMap[] = {
|
||||
{"license", "chrome://global/content/license.html",
|
||||
nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT |
|
||||
nsIAboutModule::IS_SECURE_CHROME_UI},
|
||||
{"logging", "chrome://global/content/aboutLogging.html",
|
||||
{"logging", "chrome://global/content/aboutLogging/aboutLogging.html",
|
||||
nsIAboutModule::ALLOW_SCRIPT},
|
||||
{"logo", "chrome://branding/content/about.png",
|
||||
nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT |
|
||||
|
||||
@@ -12,10 +12,13 @@
|
||||
/>
|
||||
<meta name="color-scheme" content="light dark" />
|
||||
<title data-l10n-id="about-logging-title"></title>
|
||||
<link rel="stylesheet" href="chrome://global/skin/aboutLogging.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="chrome://global/content/aboutLogging/aboutLogging.css"
|
||||
/>
|
||||
<script
|
||||
type="module"
|
||||
src="chrome://global/content/aboutLogging.mjs"
|
||||
src="chrome://global/content/aboutLogging/aboutLogging.mjs"
|
||||
></script>
|
||||
<link rel="localization" href="toolkit/about/aboutLogging.ftl" />
|
||||
<link rel="localization" href="toolkit/branding/brandings.ftl" />
|
||||
@@ -5,8 +5,9 @@ toolkit.jar:
|
||||
content/global/autocomplete.css
|
||||
content/global/aboutAbout.js
|
||||
content/global/aboutAbout.html
|
||||
content/global/aboutLogging.mjs
|
||||
content/global/aboutLogging.html
|
||||
content/global/aboutLogging/aboutLogging.html (aboutLogging/aboutLogging.html)
|
||||
content/global/aboutLogging/aboutLogging.css (aboutLogging/aboutLogging.css)
|
||||
content/global/aboutLogging/aboutLogging.mjs (aboutLogging/aboutLogging.mjs)
|
||||
content/global/aboutNetError.mjs
|
||||
content/global/aboutNetError.html
|
||||
content/global/aboutNetErrorHelpers.mjs
|
||||
|
||||
@@ -212,7 +212,7 @@ with Files("aboutNetError*"):
|
||||
with Files("aboutNetworking*"):
|
||||
BUG_COMPONENT = ("Core", "Networking")
|
||||
|
||||
with Files("aboutLogging*"):
|
||||
with Files("aboutLogging/*"):
|
||||
BUG_COMPONENT = ("Core", "XPCOM")
|
||||
|
||||
with Files("aboutProfile*"):
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
skin/classic/global/aboutMemory.css (../../shared/aboutMemory.css)
|
||||
skin/classic/global/aboutNetError.css (../../shared/aboutNetError.css)
|
||||
skin/classic/global/aboutNetworking.css (../../shared/aboutNetworking.css)
|
||||
skin/classic/global/aboutLogging.css (../../shared/aboutLogging.css)
|
||||
skin/classic/global/aboutReader.css (../../shared/aboutReader.css)
|
||||
skin/classic/global/aboutLicense.css (../../shared/aboutLicense.css)
|
||||
skin/classic/global/aboutSupport.css (../../shared/aboutSupport.css)
|
||||
|
||||
Reference in New Issue
Block a user