mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 00:05:36 +00:00
Bug 1228655 - Remove ifdefs for MOZ_CRASHREPORTER. r=mconley
gPluginHandler.CrashSubmit appears unused
This commit is contained in:
parent
64cf0b9fdc
commit
5800c4f0da
@ -85,14 +85,6 @@ var gPluginHandler = {
|
||||
}
|
||||
},
|
||||
|
||||
#ifdef MOZ_CRASHREPORTER
|
||||
get CrashSubmit() {
|
||||
delete this.CrashSubmit;
|
||||
Cu.import("resource://gre/modules/CrashSubmit.jsm", this);
|
||||
return this.CrashSubmit;
|
||||
},
|
||||
#endif
|
||||
|
||||
// Callback for user clicking on a disabled plugin
|
||||
managePlugins: function () {
|
||||
BrowserOpenAddonsMgr("addons://list/plugin");
|
||||
|
@ -230,10 +230,11 @@ XPCOMUtils.defineLazyModuleGetter(this, "gWebRTCUI",
|
||||
|
||||
XPCOMUtils.defineLazyModuleGetter(this, "TabCrashHandler",
|
||||
"resource:///modules/ContentCrashHandlers.jsm");
|
||||
#ifdef MOZ_CRASHREPORTER
|
||||
XPCOMUtils.defineLazyModuleGetter(this, "PluginCrashReporter",
|
||||
"resource:///modules/ContentCrashHandlers.jsm");
|
||||
#endif
|
||||
|
||||
if (AppConstants.MOZ_CRASHREPORTER) {
|
||||
XPCOMUtils.defineLazyModuleGetter(this, "PluginCrashReporter",
|
||||
"resource:///modules/ContentCrashHandlers.jsm");
|
||||
}
|
||||
|
||||
XPCOMUtils.defineLazyModuleGetter(this, "FormValidationHandler",
|
||||
"resource:///modules/FormValidationHandler.jsm");
|
||||
@ -289,11 +290,11 @@ XPCOMUtils.defineLazyGetter(this, "Win7Features", function () {
|
||||
return null;
|
||||
});
|
||||
|
||||
#ifdef MOZ_CRASHREPORTER
|
||||
XPCOMUtils.defineLazyServiceGetter(this, "gCrashReporter",
|
||||
"@mozilla.org/xre/app-info;1",
|
||||
"nsICrashReporter");
|
||||
#endif
|
||||
if (AppConstants.MOZ_CRASHREPORTER) {
|
||||
XPCOMUtils.defineLazyServiceGetter(this, "gCrashReporter",
|
||||
"@mozilla.org/xre/app-info;1",
|
||||
"nsICrashReporter");
|
||||
}
|
||||
|
||||
XPCOMUtils.defineLazyGetter(this, "PageMenuParent", function() {
|
||||
let tmp = {};
|
||||
@ -4460,8 +4461,7 @@ var XULBrowserWindow = {
|
||||
else
|
||||
this.asyncUpdateUI();
|
||||
|
||||
#ifdef MOZ_CRASHREPORTER
|
||||
if (aLocationURI) {
|
||||
if (AppConstants.MOZ_CRASHREPORTER && aLocationURI) {
|
||||
let uri = aLocationURI.clone();
|
||||
try {
|
||||
// If the current URI contains a username/password, remove it.
|
||||
@ -4474,7 +4474,6 @@ var XULBrowserWindow = {
|
||||
// Don't make noise when the crash reporter is built but not enabled.
|
||||
}
|
||||
}
|
||||
#endif
|
||||
},
|
||||
|
||||
asyncUpdateUI: function () {
|
||||
|
@ -89,7 +89,7 @@ browser.jar:
|
||||
content/browser/browser-fxaccounts.js (content/browser-fxaccounts.js)
|
||||
* content/browser/browser-gestureSupport.js (content/browser-gestureSupport.js)
|
||||
* content/browser/browser-places.js (content/browser-places.js)
|
||||
* content/browser/browser-plugins.js (content/browser-plugins.js)
|
||||
content/browser/browser-plugins.js (content/browser-plugins.js)
|
||||
#ifdef MOZ_SAFE_BROWSING
|
||||
content/browser/browser-safebrowsing.js (content/browser-safebrowsing.js)
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user