summaryrefslogtreecommitdiffstats
path: root/browser/components/about
diff options
context:
space:
mode:
Diffstat (limited to 'browser/components/about')
-rw-r--r--browser/components/about/AboutRedirector.cpp8
-rw-r--r--browser/components/about/components.conf2
2 files changed, 10 insertions, 0 deletions
diff --git a/browser/components/about/AboutRedirector.cpp b/browser/components/about/AboutRedirector.cpp
index 6f01344014..81336795fc 100644
--- a/browser/components/about/AboutRedirector.cpp
+++ b/browser/components/about/AboutRedirector.cpp
@@ -141,6 +141,9 @@ static const RedirEntry kRedirMap[] = {
nsIAboutModule::URI_MUST_LOAD_IN_CHILD | nsIAboutModule::ALLOW_SCRIPT |
nsIAboutModule::URI_CAN_LOAD_IN_PRIVILEGEDABOUT_PROCESS |
nsIAboutModule::HIDE_FROM_ABOUTABOUT},
+ {"settings", "chrome://browser/content/preferences/preferences.xhtml",
+ nsIAboutModule::ALLOW_SCRIPT | nsIAboutModule::IS_SECURE_CHROME_UI |
+ nsIAboutModule::HIDE_FROM_ABOUTABOUT},
{"preferences", "chrome://browser/content/preferences/preferences.xhtml",
nsIAboutModule::ALLOW_SCRIPT | nsIAboutModule::IS_SECURE_CHROME_UI},
{"downloads",
@@ -160,6 +163,11 @@ static const RedirEntry kRedirMap[] = {
{"ion", "chrome://browser/content/ion.html",
nsIAboutModule::ALLOW_SCRIPT | nsIAboutModule::HIDE_FROM_ABOUTABOUT |
nsIAboutModule::IS_SECURE_CHROME_UI},
+ {"profilemanager", "chrome://browser/content/profiles/profiles.html",
+ nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT |
+ nsIAboutModule::URI_MUST_LOAD_IN_CHILD | nsIAboutModule::ALLOW_SCRIPT |
+ nsIAboutModule::URI_CAN_LOAD_IN_PRIVILEGEDABOUT_PROCESS |
+ nsIAboutModule::HIDE_FROM_ABOUTABOUT},
};
static nsAutoCString GetAboutModuleName(nsIURI* aURI) {
diff --git a/browser/components/about/components.conf b/browser/components/about/components.conf
index c03994b11c..2d08084592 100644
--- a/browser/components/about/components.conf
+++ b/browser/components/about/components.conf
@@ -25,12 +25,14 @@ pages = [
'preferences',
'privatebrowsing',
'protections',
+ 'profilemanager',
'profiling',
'reader',
'restartrequired',
'rights',
'robots',
'sessionrestore',
+ 'settings',
'shoppingsidebar',
'tabcrashed',
'unloads',