[Pkg-mozext-commits] [firebug] 11/55: Backported 11b3e247a6ba1cc4e51d7cda7d0c859e07caf39a from master

David Prévot taffit at moszumanska.debian.org
Mon Mar 31 22:46:07 UTC 2014


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

taffit pushed a commit to tag firebug-1.10.1
in repository firebug.

commit e51498fedeecead98bd65b22ca930b39eeaa97dd
Author: Sebastian Zartner <sebastianzartner at gmx.de>
Date:   Tue Jul 24 14:51:28 2012 +0200

    Backported 11b3e247a6ba1cc4e51d7cda7d0c859e07caf39a from master
    
    Issue 5618 (Enabling Break On ... costs a lot of CPU)
    
    http://code.google.com/p/fbug/issues/detail?id=5618
---
 extension/content/firebug/firebug.css      |  5 ++++-
 extension/content/firebug/js/breakpoint.js | 10 ++++++++--
 2 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/extension/content/firebug/firebug.css b/extension/content/firebug/firebug.css
index 38fd5f7..5c134bb 100644
--- a/extension/content/firebug/firebug.css
+++ b/extension/content/firebug/firebug.css
@@ -344,14 +344,17 @@ panelTab > panelTabMenu .menuPopup:-moz-locale-dir(rtl) {
 }
 
 panelTab[breakOnNextArmed="true"] > .panelTab-text {
-    -moz-animation: armedBlinking 0.8s ease-out infinite alternate;
+    text-shadow: 1px 1px 2px darkGray, 0 0 1em orange, 0 0 0.2em orange !important;
+    /* -moz-animation: armedBlinking 0.8s ease-out infinite alternate; see issue 5618 */
 }
 
+/* see issue 5618
 panelTab.highlighted {
     text-shadow: 1px 1px 2px darkGray, 0px 0px 1em orange, 0px 0px 0.2em orange !important;
     -moz-transition-property: text-shadow;
     -moz-transition-duration: 0.8s;
 }
+*/
 
 panelTab[aria-disabled='true'] {
     color: graytext !important;
diff --git a/extension/content/firebug/js/breakpoint.js b/extension/content/firebug/js/breakpoint.js
index c51c18b..86630fa 100644
--- a/extension/content/firebug/js/breakpoint.js
+++ b/extension/content/firebug/js/breakpoint.js
@@ -25,9 +25,9 @@ function(Obj, Firebug, Domplate, FirebugReps, Locale, Events, SourceLink,
 // ********************************************************************************************* //
 // Constants
 
-const animationDuration = 0.8;
+/* const animationDuration = 0.8; see issue 5618 */
 
- // ********************************************************************************************* //
+// ********************************************************************************************* //
 // Breakpoints
 
 Firebug.Breakpoint = Obj.extend(Firebug.Module,
@@ -112,6 +112,7 @@ Firebug.Breakpoint = Obj.extend(Firebug.Module,
             Menu.createMenuItem(menuPopup, menuItems[i]);
     },
 
+    /* see issue 5618
     toggleTabHighlighting: function(event)
     {
         // Don't continue if it's the wrong animation phase
@@ -131,6 +132,7 @@ Firebug.Breakpoint = Obj.extend(Firebug.Module,
         panel.context.delayedArmedTab.setAttribute("breakOnNextArmed", "true");
         delete panel.context.delayedArmedTab;
     },
+    */
 
     updateBreakOnNextTooltips: function(panel)
     {
@@ -170,6 +172,9 @@ Firebug.Breakpoint = Obj.extend(Firebug.Module,
         var panelBar = Firebug.chrome.$("fbPanelBar1");
         var tab = panelBar.getTab(panel.name);
         if (tab)
+            tab.setAttribute("breakOnNextArmed", armed ? "true" : "false");
+
+        /* see issue 5618
         {
             if (armed)
             {
@@ -198,6 +203,7 @@ Firebug.Breakpoint = Obj.extend(Firebug.Module,
                 tab.setAttribute("breakOnNextArmed", "false");
             }
         }
+        */
     },
 
     updatePanelTabs: function(context)

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



More information about the Pkg-mozext-commits mailing list