Commit 102c9d9f authored by Vincent Cote's avatar Vincent Cote
Browse files

Bug 1493446 - Create a skeleton of the new internal settings HTML page. r=paolo,bgrins

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

--HG--
extra : rebase_source : a137caec34a24664d7988924a72f6f009311ff84
extra : amend_source : e335d7fc75ea389ca3233b0d2d30b118e855473e
parent 077c17e0
......@@ -41,6 +41,9 @@ var gExceptionPaths = [
// Exclude all search-plugins because they aren't referenced by filename
"resource://search-plugins/",
// This is only in Nightly, and accessed using a direct chrome URL
"chrome://browser/content/aboutconfig/",
];
// These are not part of the omni.ja file, so we find them only when running
......
/* 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/. */
/* aboutconfig.css */
<!-- 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>
<head>
<meta charset="utf-8">
<link rel="stylesheet" media="screen, projection" type="text/css"
href="chrome://global/skin/in-content/common.css"/>
<link rel="stylesheet" type="text/css"
href="chrome://browser/content/aboutconfig/aboutconfig.css"/>
<script type="application/javascript"
src="chrome://browser/content/aboutconfig/aboutconfig.js"></script>
<title>about:config</title>
</head>
<body>
</body>
</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
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/* aboutconfig.js */
# 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/.
browser.jar:
content/browser/aboutconfig/aboutconfig.css (content/aboutconfig.css)
content/browser/aboutconfig/aboutconfig.html (content/aboutconfig.html)
content/browser/aboutconfig/aboutconfig.js (content/aboutconfig.js)
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# 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/.
BROWSER_CHROME_MANIFESTS += ['test/browser/browser.ini']
JAR_MANIFESTS += ['jar.mn']
"use strict";
module.exports = {
"extends": [
"plugin:mozilla/browser-test",
],
};
/* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/publicdomain/zero/1.0/ */
add_task(async function test_load_title() {
await BrowserTestUtils.withNewTab({
gBrowser,
url: "chrome://browser/content/aboutconfig/aboutconfig.html",
}, browser => {
info("about:config loaded");
return ContentTask.spawn(browser, null, () => {
Assert.equal(content.document.title, "about:config");
});
});
});
......@@ -59,7 +59,10 @@ DIRS += [
DIRS += ['build']
if CONFIG['NIGHTLY_BUILD']:
DIRS += ['payments']
DIRS += [
'aboutconfig',
'payments',
]
XPIDL_SOURCES += [
'nsIBrowserHandler.idl',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment