@@ -729,9 +729,10 @@ HTTPSEverywhere.prototype = {
729729 toggleEnabledState : function ( ) {
730730 if ( this . prefs . getBoolPref ( "globalEnabled" ) ) {
731731 try {
732+ // toggling some of these after startup may be inconsequential...
733+ // this.obsService.removeObserver(this, "sessionstore-windows-restored");
732734 this . obsService . removeObserver ( this , "profile-before-change" ) ;
733735 this . obsService . removeObserver ( this , "profile-after-change" ) ;
734- this . obsService . removeObserver ( this , "sessionstore-windows-restored" ) ;
735736 OS . removeObserver ( this , "cookie-changed" ) ;
736737 OS . removeObserver ( this , "http-on-modify-request" ) ;
737738 OS . removeObserver ( this , "http-on-examine-merged-response" ) ;
@@ -755,7 +756,7 @@ HTTPSEverywhere.prototype = {
755756 try {
756757 this . obsService . addObserver ( this , "profile-before-change" , false ) ;
757758 this . obsService . addObserver ( this , "profile-after-change" , false ) ;
758- this . obsService . addObserver ( this , "sessionstore-windows-restored" , false ) ;
759+ // this.obsService.addObserver(this, "sessionstore-windows-restored", false);
759760 OS . addObserver ( this , "cookie-changed" , false ) ;
760761 OS . addObserver ( this , "http-on-modify-request" , false ) ;
761762 OS . addObserver ( this , "http-on-examine-merged-response" , false ) ;
0 commit comments