summaryrefslogtreecommitdiffstats
path: root/browser/base/content/browser.js
diff options
context:
space:
mode:
Diffstat (limited to 'browser/base/content/browser.js')
-rwxr-xr-xbrowser/base/content/browser.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js
index b794386f7..7b05e1da7 100755
--- a/browser/base/content/browser.js
+++ b/browser/base/content/browser.js
@@ -3975,6 +3975,10 @@ function addToUrlbarHistory(aUrlToAdd) {
PlacesUIUtils.markPageAsTyped(aUrlToAdd);
}
+function toJavaScriptConsole() {
+ toOpenWindowByType("global:console", "chrome://global/content/console.xul");
+}
+
function BrowserDownloadsUI()
{
if (PrivateBrowsingUtils.isWindowPrivate(window)) {