[tor-commits] [tor-browser/tor-browser-31.7.0esr-5.0-1] fixup! Bug 10280: Don't load any plugins into the address space.

gk at torproject.org gk at torproject.org
Tue May 26 12:48:12 UTC 2015


commit 86997f5baac6c1f0de8c84145a048b65716b35e7
Author: Kathy Brade <brade at pearlcrescent.com>
Date:   Mon May 11 11:16:12 2015 -0400

    fixup! Bug 10280: Don't load any plugins into the address space.
    
    Overlay the about:addons page to avoid a direct dependency
    on entities that are defined in Torbutton. Fixes bug 15984.
---
 toolkit/mozapps/extensions/content/extensions.xul |   21 ++-------------------
 1 file changed, 2 insertions(+), 19 deletions(-)

diff --git a/toolkit/mozapps/extensions/content/extensions.xul b/toolkit/mozapps/extensions/content/extensions.xul
index b64937b..4eb01bf 100644
--- a/toolkit/mozapps/extensions/content/extensions.xul
+++ b/toolkit/mozapps/extensions/content/extensions.xul
@@ -359,14 +359,7 @@
                       command="cmd_pluginCheck"/>
               <spacer flex="5000"/> <!-- Necessary to allow the message to wrap -->
             </hbox>
-            <vbox id="plugin-disable-button" class="global-info" flex="1"
-                  align="end">
-              <button class="button-plugin-disable"
-                      label="&plugins.installed.disable;"
-                      tooltiptext="&plugins.installed.disable.tip;"
-                      command="cmd_pluginDisable"/>
-              <spacer flex="5000"/>
-            </vbox>
+            <vbox id="plugin-disable-button" />  <!-- Overlaid by Torbutton -->
           </hbox>
           <hbox class="view-header global-info-container experiment-info-container">
             <hbox class="global-info" flex="1" align="center">
@@ -396,17 +389,7 @@
             </vbox>
             <spacer class="alert-spacer-after"/>
           </vbox>
-          <vbox id="plugin-enable-button" class="alert-container" flex="1"
-                hidden="true">
-            <spacer class="alert-spacer-before"/>
-            <vbox class="alert">
-              <label value="&plugins.installed.find;"/>
-              <button class="button-plugin-enable"
-                      label="&plugins.installed.enable;"
-                      command="cmd_pluginEnable"/>
-            </vbox>
-            <spacer class="alert-spacer-after"/>
-          </vbox>
+          <vbox id="plugin-enable-button" />  <!-- Overlaid by Torbutton -->
           <richlistbox id="addon-list" class="list" flex="1"/>
         </vbox>
 



More information about the tor-commits mailing list