summaryrefslogtreecommitdiffstats
path: root/browser/base/content/tabbrowser.js
diff options
context:
space:
mode:
Diffstat (limited to 'browser/base/content/tabbrowser.js')
-rw-r--r--browser/base/content/tabbrowser.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/browser/base/content/tabbrowser.js b/browser/base/content/tabbrowser.js
index f56e1f0a01..678e923d5c 100644
--- a/browser/base/content/tabbrowser.js
+++ b/browser/base/content/tabbrowser.js
@@ -2128,18 +2128,6 @@
// doesn't keep the window alive.
b.permanentKey = new (Cu.getGlobalForObject(Services).Object)();
- // Ensure that SessionStore has flushed any session history state from the
- // content process before we this browser's remoteness.
- if (!Services.appinfo.sessionHistoryInParent) {
- b.prepareToChangeRemoteness = () =>
- SessionStore.prepareToChangeRemoteness(b);
- b.afterChangeRemoteness = switchId => {
- let tab = this.getTabForBrowser(b);
- SessionStore.finishTabRemotenessChange(tab, switchId);
- return true;
- };
- }
-
const defaultBrowserAttributes = {
contextmenu: "contentAreaContextMenu",
message: "true",