зеркало из https://github.com/mozilla/pjs.git
Bug 696820 - Fix typo'd MOZ_CRASHREPORTER ifdefs; r=ted
This commit is contained in:
Родитель
f658503ddc
Коммит
11090bff68
|
@ -143,7 +143,7 @@ XPCOMUtils.defineLazyGetter(this, "NetUtil", function() {
|
|||
XPCOMUtils.defineLazyServiceGetter(this, "CookieSvc",
|
||||
"@mozilla.org/cookiemanager;1", "nsICookieManager2");
|
||||
|
||||
#ifdef MOZ_CRASH_REPORTER
|
||||
#ifdef MOZ_CRASHREPORTER
|
||||
XPCOMUtils.defineLazyServiceGetter(this, "CrashReporter",
|
||||
"@mozilla.org/xre/app-info;1", "nsICrashReporter");
|
||||
#endif
|
||||
|
@ -3796,7 +3796,7 @@ SessionStoreService.prototype = {
|
|||
* Annotate a breakpad crash report with the currently selected tab's URL.
|
||||
*/
|
||||
_updateCrashReportURL: function sss_updateCrashReportURL(aWindow) {
|
||||
#ifdef MOZ_CRASH_REPORTER
|
||||
#ifdef MOZ_CRASHREPORTER
|
||||
try {
|
||||
var currentURI = aWindow.gBrowser.currentURI.clone();
|
||||
// if the current URI contains a username/password, remove it
|
||||
|
|
|
@ -69,7 +69,8 @@ window.sizeToContent = function() {
|
|||
Cu.reportError("window.sizeToContent is not allowed in this window");
|
||||
}
|
||||
|
||||
#ifdef MOZ_CRASH_REPORTER
|
||||
#ifdef MOZ_CRASHREPORTER
|
||||
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||
XPCOMUtils.defineLazyServiceGetter(this, "CrashReporter",
|
||||
"@mozilla.org/xre/app-info;1", "nsICrashReporter");
|
||||
#endif
|
||||
|
@ -1618,7 +1619,7 @@ Browser.WebProgress.prototype = {
|
|||
tab.browser.userTypedValue = "";
|
||||
tab.browser.appIcon = { href: null, size:-1 };
|
||||
|
||||
#ifdef MOZ_CRASH_REPORTER
|
||||
#ifdef MOZ_CRASHREPORTER
|
||||
if (CrashReporter.enabled)
|
||||
CrashReporter.annotateCrashReport("URL", spec);
|
||||
#endif
|
||||
|
|
|
@ -42,7 +42,7 @@ const Cr = Components.results;
|
|||
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||
Cu.import("resource://gre/modules/Services.jsm");
|
||||
|
||||
#ifdef MOZ_CRASH_REPORTER
|
||||
#ifdef MOZ_CRASHREPORTER
|
||||
XPCOMUtils.defineLazyServiceGetter(this, "CrashReporter",
|
||||
"@mozilla.org/xre/app-info;1", "nsICrashReporter");
|
||||
#endif
|
||||
|
@ -578,7 +578,7 @@ SessionStore.prototype = {
|
|||
},
|
||||
|
||||
_updateCrashReportURL: function ss_updateCrashReportURL(aWindow) {
|
||||
#ifdef MOZ_CRASH_REPORTER
|
||||
#ifdef MOZ_CRASHREPORTER
|
||||
try {
|
||||
let currentURI = aWindow.Browser.selectedBrowser.currentURI.clone();
|
||||
// if the current URI contains a username/password, remove it
|
||||
|
|
Загрузка…
Ссылка в новой задаче