[Pkg-mozext-commits] [tabmixplus] 04/61: Follow up bug 1166757 - Remove browser.__SS_data

David Prévot taffit at moszumanska.debian.org
Fri Aug 28 19:09:16 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository tabmixplus.

commit be24a02a5f800eafa81cf62cb0a2c78e1cba0bdb
Author: onemen <tabmix.onemen at gmail.com>
Date:   Sun Jul 5 12:31:51 2015 +0300

    Follow up bug 1166757 - Remove browser.__SS_data
---
 chrome/content/session/session.js | 3 ++-
 modules/Services.jsm              | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/chrome/content/session/session.js b/chrome/content/session/session.js
index 906de09..3b46c24 100644
--- a/chrome/content/session/session.js
+++ b/chrome/content/session/session.js
@@ -3466,7 +3466,8 @@ try{
       // wiping out any current value in tab.__SS_extdata.
       delete aTab.__SS_extdata;
       // delete any sesionRestore data
-      delete browser.__SS_data;
+      if (!Tabmix.isVersion(410))
+         delete browser.__SS_data;
 
       // clear TabStateCache
       if (Tabmix.isVersion(320)) {
diff --git a/modules/Services.jsm b/modules/Services.jsm
index ca2cfc4..f676ef4 100644
--- a/modules/Services.jsm
+++ b/modules/Services.jsm
@@ -312,7 +312,8 @@ var tabStateCache = {
   },
 
   saveTabAttributes: function(tab, attrib) {
-    if (!isVersion(250))
+    // After bug 1166757 - Remove browser.__SS_data, we no longer need this function
+    if (!isVersion(250) || isVersion(410))
       return;
 
     let attribs = attrib.split(",");

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/tabmixplus.git



More information about the Pkg-mozext-commits mailing list