summaryrefslogtreecommitdiffstats
path: root/docshell
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-06-26 13:23:24 -0400
committerMatt A. Tobin <email@mattatobin.com>2018-06-26 13:23:24 -0400
commitbbbb74e5f077b47c6adb8ede13bfb001bb966cdb (patch)
tree0ee257981bcb9d18f1137923f69bdf5c91609b93 /docshell
parent1d152bb9f45a871649b4364f3cb490da679b350c (diff)
downloadUXP-bbbb74e5f077b47c6adb8ede13bfb001bb966cdb.tar
UXP-bbbb74e5f077b47c6adb8ede13bfb001bb966cdb.tar.gz
UXP-bbbb74e5f077b47c6adb8ede13bfb001bb966cdb.tar.lz
UXP-bbbb74e5f077b47c6adb8ede13bfb001bb966cdb.tar.xz
UXP-bbbb74e5f077b47c6adb8ede13bfb001bb966cdb.zip
Make the Error Console accessible from about:console
Diffstat (limited to 'docshell')
-rw-r--r--docshell/base/nsAboutRedirector.cpp1
-rw-r--r--docshell/build/nsDocShellModule.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/docshell/base/nsAboutRedirector.cpp b/docshell/base/nsAboutRedirector.cpp
index a50134cec..4dba7f261 100644
--- a/docshell/base/nsAboutRedirector.cpp
+++ b/docshell/base/nsAboutRedirector.cpp
@@ -50,6 +50,7 @@ static RedirEntry kRedirMap[] = {
nsIAboutModule::ALLOW_SCRIPT
},
{ "config", "chrome://global/content/config.xul", 0 },
+ { "console", "chrome://global/content/console.xul", 0 },
{
"credits", "http://www.palemoon.org/Contributors.shtml",
nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT |
diff --git a/docshell/build/nsDocShellModule.cpp b/docshell/build/nsDocShellModule.cpp
index 91b35abea..3481bd297 100644
--- a/docshell/build/nsDocShellModule.cpp
+++ b/docshell/build/nsDocShellModule.cpp
@@ -165,6 +165,7 @@ const mozilla::Module::ContractIDEntry kDocShellContracts[] = {
{ NS_ABOUT_MODULE_CONTRACTID_PREFIX "buildconfig", &kNS_ABOUT_REDIRECTOR_MODULE_CID },
{ NS_ABOUT_MODULE_CONTRACTID_PREFIX "checkerboard", &kNS_ABOUT_REDIRECTOR_MODULE_CID },
{ NS_ABOUT_MODULE_CONTRACTID_PREFIX "config", &kNS_ABOUT_REDIRECTOR_MODULE_CID },
+ { NS_ABOUT_MODULE_CONTRACTID_PREFIX "console", &kNS_ABOUT_REDIRECTOR_MODULE_CID },
{ NS_ABOUT_MODULE_CONTRACTID_PREFIX "credits", &kNS_ABOUT_REDIRECTOR_MODULE_CID },
#ifdef MOZ_DEVTOOLS
{ NS_ABOUT_MODULE_CONTRACTID_PREFIX "debugging", &kNS_ABOUT_REDIRECTOR_MODULE_CID },