[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #10280 [Firefox Patch Issues]: Torbrowser shouldn't load flash into the process space by default



#10280: Torbrowser shouldn't load flash into the process space by default
--------------------------------------+-----------------
     Reporter:  mikeperry             |      Owner:
         Type:  enhancement           |     Status:  new
     Priority:  normal                |  Milestone:
    Component:  Firefox Patch Issues  |    Version:
   Resolution:                        |   Keywords:
Actual Points:                        |  Parent ID:
       Points:                        |
--------------------------------------+-----------------

Comment (by cypherpunks):

 >to enable flash (by requiring a restart)

 You no need to restart browser. UI is broken, but plugins actually loaded
 and unloaded by ''plugin.disable'' preference.

 {{{
 --- PluginProvider.jsm
 +++ PluginProvider.jsm.modif
 @@ -53,6 +53,7 @@
    plugins: null,

    startup: function PL_startup() {
 +    Services.prefs.addObserver("plugin.disable", this, false);
      Services.obs.addObserver(this, LIST_UPDATED_TOPIC, false);
      Services.obs.addObserver(this,
 AddonManager.OPTIONS_NOTIFICATION_DISPLAYED, false);
    },
 @@ -90,6 +91,9 @@
        if (this.plugins)
          this.updatePluginList();
        break;
 +    case "nsPref:changed":
 +      this.buildPluginList();
 +      return;
      }
    },
 }}}
 This simple fix (but not correct to be real fix) will make to show actual
 state of loaded plugins.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/10280#comment:5>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs