mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-02 13:27:33 +09:00
Make the Error Console accessible from about:console
This commit is contained in:
parent
5461288e07
commit
5f7da92734
3 changed files with 8 additions and 7 deletions
|
|
@ -50,6 +50,7 @@ static RedirEntry kRedirMap[] = {
|
||||||
nsIAboutModule::ALLOW_SCRIPT
|
nsIAboutModule::ALLOW_SCRIPT
|
||||||
},
|
},
|
||||||
{ "config", "chrome://global/content/config.xul", 0 },
|
{ "config", "chrome://global/content/config.xul", 0 },
|
||||||
|
{ "console", "chrome://global/content/console.xul", 0 },
|
||||||
{
|
{
|
||||||
"credits", "http://www.palemoon.org/Contributors.shtml",
|
"credits", "http://www.palemoon.org/Contributors.shtml",
|
||||||
nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT |
|
nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT |
|
||||||
|
|
|
||||||
|
|
@ -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 "buildconfig", &kNS_ABOUT_REDIRECTOR_MODULE_CID },
|
||||||
{ NS_ABOUT_MODULE_CONTRACTID_PREFIX "checkerboard", &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 "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 },
|
{ NS_ABOUT_MODULE_CONTRACTID_PREFIX "credits", &kNS_ABOUT_REDIRECTOR_MODULE_CID },
|
||||||
#ifdef MOZ_DEVTOOLS
|
#ifdef MOZ_DEVTOOLS
|
||||||
{ NS_ABOUT_MODULE_CONTRACTID_PREFIX "debugging", &kNS_ABOUT_REDIRECTOR_MODULE_CID },
|
{ NS_ABOUT_MODULE_CONTRACTID_PREFIX "debugging", &kNS_ABOUT_REDIRECTOR_MODULE_CID },
|
||||||
|
|
|
||||||
|
|
@ -77,6 +77,7 @@
|
||||||
<toolbarseparator/>
|
<toolbarseparator/>
|
||||||
<toolbarbutton id="Console:clear" oncommand="clearConsole();"
|
<toolbarbutton id="Console:clear" oncommand="clearConsole();"
|
||||||
label="&clear.label;" accesskey="&clear.accesskey;"/>
|
label="&clear.label;" accesskey="&clear.accesskey;"/>
|
||||||
|
<toolbarspring/>
|
||||||
</toolbar>
|
</toolbar>
|
||||||
|
|
||||||
<toolbar class="chromeclass-toolbar" id="ToolbarEval" align="center" nowindowdrag="true">
|
<toolbar class="chromeclass-toolbar" id="ToolbarEval" align="center" nowindowdrag="true">
|
||||||
|
|
@ -91,11 +92,9 @@
|
||||||
|
|
||||||
<iframe name="Evaluator" id="Evaluator" collapsed="true"/>
|
<iframe name="Evaluator" id="Evaluator" collapsed="true"/>
|
||||||
|
|
||||||
<statusbar>
|
<toolbar align="center" nowindowdrag="true">
|
||||||
<statusbarpanel flex="1" pack="start">
|
<label value="&filter2.label;" control="Filter"/>
|
||||||
<label value="&filter2.label;" control="Filter"/>
|
<textbox accesskey="&filter2.accesskey;" type="search"
|
||||||
<textbox accesskey="&filter2.accesskey;" type="search"
|
id="Filter" oncommand="changeFilter();"/>
|
||||||
id="Filter" oncommand="changeFilter();"/>
|
</toolbar>
|
||||||
</statusbarpanel>
|
|
||||||
</statusbar>
|
|
||||||
</window>
|
</window>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue