[Pkg-mozext-commits] [firebug] 42/55: Issue 5761: Highlighting of changed HTML attributes doesn't work in some cases

David Prévot taffit at moszumanska.debian.org
Mon Mar 31 22:46:11 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 4ef684e3be0c97c39a44564f83b8794fcfd093c2
Author: Jan Odvarko <odvarko at gmail.com>
Date:   Tue Jul 31 12:29:52 2012 +0200

    Issue 5761: 	Highlighting of changed HTML attributes doesn't work in some cases
---
 extension/content/firebug/html/htmlPanel.js | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/extension/content/firebug/html/htmlPanel.js b/extension/content/firebug/html/htmlPanel.js
index b2c7f96..d368fbf 100644
--- a/extension/content/firebug/html/htmlPanel.js
+++ b/extension/content/firebug/html/htmlPanel.js
@@ -390,8 +390,12 @@ Firebug.HTMLPanel.prototype = Obj.extend(WalkingPanel,
 
     registerMutationListeners: function(win)
     {
-        if (this.context.attachedMutation)
-            return;
+        // The 'attachedMutation' flag should be maintained per window. Otherwise
+        // we can miss some registration. Events.addEventListener is safe for multiple
+        // calls so, let's remove the condition for now as part of issue 5761 fix.
+        // This should be improved together with issue 5490
+        //if (this.context.attachedMutation)
+        //    return;
 
         this.context.attachedMutation = true;
 

-- 
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