Bug 1278553 - Switch Instantbird to use the Browser Console instead of the deprecated Error Console. r=aleth
This commit is contained in:
Родитель
ea4317e470
Коммит
3c68c2872c
|
@ -203,6 +203,11 @@ pref("browser.search.update.log", false);
|
|||
// Check whether we need to perform engine updates every 6 hours
|
||||
pref("browser.search.updateinterval", 6);
|
||||
|
||||
// Developer Tools related preferences
|
||||
pref("devtools.debugger.log", false);
|
||||
pref("devtools.chrome.enabled", true);
|
||||
pref("devtools.selfxss.count", 5);
|
||||
|
||||
// Blocklist preferences
|
||||
pref("extensions.blocklist.enabled", true);
|
||||
// Controls what level the blocklist switches from warning about items to forcibly
|
||||
|
|
|
@ -23,3 +23,5 @@ MOZ_APP_ID={33cb9019-c295-46dd-be21-8c4936574bee}
|
|||
# Enable generational GC on desktop.
|
||||
JSGC_GENERATIONAL=1
|
||||
NSS_EXTRA_SYMBOLS_FILE=../../../../chat/nss-purple.symbols
|
||||
|
||||
MOZ_DEVTOOLS=all
|
||||
|
|
|
@ -5,8 +5,6 @@
|
|||
var addBuddyWindow = "chrome://instantbird/content/addbuddy.xul";
|
||||
var joinChatWindow = "chrome://instantbird/content/joinchat.xul";
|
||||
var aboutWindow = "chrome://instantbird/content/aboutDialog.xul";
|
||||
var errorConsoleWindow = "chrome://global/content/console.xul";
|
||||
var preferencesWindow = "chrome://instantbird/content/preferences/preferences.xul";
|
||||
|
||||
if (!("Services" in window))
|
||||
Components.utils.import("resource:///modules/imServices.jsm");
|
||||
|
@ -57,8 +55,9 @@ var menus = {
|
|||
},
|
||||
|
||||
errors: function debug_errors() {
|
||||
Core.showWindow("global:console", errorConsoleWindow, "Errors",
|
||||
"chrome,extrachrome,menubar,resizable,scrollbars,status,toolbar");
|
||||
let { require } = Components.utils.import("resource://devtools/shared/Loader.jsm", {});
|
||||
let HUDService = require("devtools/client/webconsole/hudservice");
|
||||
HUDService.openBrowserConsoleOrFocus();
|
||||
},
|
||||
|
||||
updates: function menu_updates() {
|
||||
|
|
|
@ -308,6 +308,9 @@
|
|||
; DevTools
|
||||
@RESPATH@/chrome/devtools@JAREXT@
|
||||
@RESPATH@/chrome/devtools.manifest
|
||||
@RESPATH@/@PREF_DIR@/devtools.js
|
||||
@RESPATH@/components/devtools-startup.manifest
|
||||
@RESPATH@/components/devtools-startup.js
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
; Base Package Files
|
||||
|
@ -631,8 +634,6 @@
|
|||
@RESPATH@/components/PackagedAppUtils.manifest
|
||||
@RESPATH@/components/PackagedAppUtils.js
|
||||
@RESPATH@/components/directory.xpt
|
||||
@RESPATH@/components/jsconsole-clhandler.js
|
||||
@RESPATH@/components/jsconsole-clhandler.manifest
|
||||
@RESPATH@/components/layout_xul_tree.xpt
|
||||
@RESPATH@/components/mozfind.xpt
|
||||
@RESPATH@/components/mimetype.xpt
|
||||
|
|
Загрузка…
Ссылка в новой задаче