diff options
author | Matt A. Tobin <email@mattatobin.com> | 2018-02-02 07:28:34 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2018-02-02 07:28:34 -0500 |
commit | bb23af29afc0ef21b3ee2d37e593a07f6cd7e81d (patch) | |
tree | b680d78ae1b0265afef0312cf504726ae97fbbd0 /browser/base/content/browser.js | |
parent | 464e29230eeb8c25dfb064f14239b1288c85332b (diff) | |
download | UXP-bb23af29afc0ef21b3ee2d37e593a07f6cd7e81d.tar UXP-bb23af29afc0ef21b3ee2d37e593a07f6cd7e81d.tar.gz UXP-bb23af29afc0ef21b3ee2d37e593a07f6cd7e81d.tar.lz UXP-bb23af29afc0ef21b3ee2d37e593a07f6cd7e81d.tar.xz UXP-bb23af29afc0ef21b3ee2d37e593a07f6cd7e81d.zip |
Issue N/A - Restore the Toolkit Error Console - Part 2: Browser
Diffstat (limited to 'browser/base/content/browser.js')
-rwxr-xr-x | browser/base/content/browser.js | 4 |
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)) { |