summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--browser/components/sessionstore/src/SessionStore.jsm12
-rw-r--r--browser/metro/base/content/browser-ui.js4
-rw-r--r--browser/metro/components/SessionStore.js10
-rw-r--r--toolkit/xre/nsAppRunner.cpp6
-rw-r--r--webapprt/content/webapp.js4
5 files changed, 1 insertions, 35 deletions
diff --git a/browser/components/sessionstore/src/SessionStore.jsm b/browser/components/sessionstore/src/SessionStore.jsm
index babc4489d..109bb4384 100644
--- a/browser/components/sessionstore/src/SessionStore.jsm
+++ b/browser/components/sessionstore/src/SessionStore.jsm
@@ -1180,8 +1180,6 @@ let SessionStoreInternal = {
if (!aNoNotification) {
this.saveStateDelayed(aWindow);
}
-
- this._updateCrashReportURL(aWindow);
},
/**
@@ -1283,8 +1281,6 @@ let SessionStoreInternal = {
delete aBrowser.__SS_formDataSaved;
this.saveStateDelayed(aWindow);
- // attempt to update the current URL we send in a crash report
- this._updateCrashReportURL(aWindow);
},
/**
@@ -1318,8 +1314,6 @@ let SessionStoreInternal = {
tab.linkedBrowser.__SS_restoreState == TAB_STATE_NEEDS_RESTORE)
this.restoreTab(tab);
- // attempt to update the current URL we send in a crash report
- this._updateCrashReportURL(aWindow);
}
},
@@ -3994,12 +3988,6 @@ let SessionStoreInternal = {
},
/**
- * Annotate a breakpad crash report with the currently selected tab's URL.
- */
- _updateCrashReportURL: function ssi_updateCrashReportURL(aWindow) {
- },
-
- /**
* @param aState is a session state
* @param aRecentCrashes is the number of consecutive crashes
* @returns whether a restore page will be needed for the session state
diff --git a/browser/metro/base/content/browser-ui.js b/browser/metro/base/content/browser-ui.js
index 356103843..1b5a0639c 100644
--- a/browser/metro/base/content/browser-ui.js
+++ b/browser/metro/base/content/browser-ui.js
@@ -218,10 +218,6 @@ var BrowserUI = {
return this.CrashSubmit;
},
- startupCrashCheck: function startupCrashCheck() {
- return false;
- },
-
/*********************************
* Navigation
diff --git a/browser/metro/components/SessionStore.js b/browser/metro/components/SessionStore.js
index e0aa848a7..06a418995 100644
--- a/browser/metro/components/SessionStore.js
+++ b/browser/metro/components/SessionStore.js
@@ -341,7 +341,6 @@ SessionStore.prototype = {
if (!aNoNotification)
this.saveStateDelayed();
- this._updateCrashReportURL(aWindow);
},
onTabRemove: function ss_onTabRemove(aWindow, aBrowser, aNoNotification) {
@@ -395,8 +394,6 @@ SessionStore.prototype = {
// Save out the state as quickly as possible
if (aMessage.name == "pageshow")
this.saveStateNow();
-
- this._updateCrashReportURL(aWindow);
},
onTabSelect: function ss_onTabSelect(aWindow, aBrowser) {
@@ -421,8 +418,6 @@ SessionStore.prototype = {
delete aBrowser.__SS_restore;
}
-
- this._updateCrashReportURL(aWindow);
},
saveStateDelayed: function ss_saveStateDelayed() {
@@ -542,10 +537,7 @@ SessionStore.prototype = {
}
});
},
-
- _updateCrashReportURL: function ss_updateCrashReportURL(aWindow) {
- },
-
+
getBrowserState: function ss_getBrowserState() {
let data = this._getCurrentState();
return JSON.stringify(data);
diff --git a/toolkit/xre/nsAppRunner.cpp b/toolkit/xre/nsAppRunner.cpp
index 4266c7a89..d641af858 100644
--- a/toolkit/xre/nsAppRunner.cpp
+++ b/toolkit/xre/nsAppRunner.cpp
@@ -810,12 +810,6 @@ nsXULAppInfo::GetReplacedLockTime(PRTime *aReplacedLockTime)
return NS_OK;
}
-NS_IMETHODIMP
-nsXULAppInfo::GetLastRunCrashID(nsAString &aLastRunCrashID)
-{
- return NS_ERROR_NOT_IMPLEMENTED;
-}
-
#ifdef XP_WIN
// Matches the enum in WinNT.h for the Vista SDK but renamed so that we can
// safely build with the Vista SDK and without it.
diff --git a/webapprt/content/webapp.js b/webapprt/content/webapp.js
index 2b380051a..a12a82a9a 100644
--- a/webapprt/content/webapp.js
+++ b/webapprt/content/webapp.js
@@ -35,7 +35,6 @@ let progressListener = {
if (aRequest instanceof Ci.nsIChannel &&
aFlags & Ci.nsIWebProgressListener.STATE_START &&
aFlags & Ci.nsIWebProgressListener.STATE_IS_DOCUMENT) {
- updateCrashReportURL(aRequest.URI);
}
}
};
@@ -153,6 +152,3 @@ function updateEditUIVisibility() {
}
#endif
}
-
-function updateCrashReportURL(aURI) {
-}