[Pkg-mozext-commits] [firebug] 12/55: do not allow dummyStyle to break firebug
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 42f390f6ca0d91fde93c3b4a2cddd693a32bfe2f
Author: nightwing <amirjanyan at gmail.com>
Date: Fri Jul 13 15:25:54 2012 +0400
do not allow dummyStyle to break firebug
---
extension/content/firebug/css/stylePanel.js | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/extension/content/firebug/css/stylePanel.js b/extension/content/firebug/css/stylePanel.js
index e489747..b220ebd 100644
--- a/extension/content/firebug/css/stylePanel.js
+++ b/extension/content/firebug/css/stylePanel.js
@@ -305,9 +305,10 @@ CSSStylePanel.prototype = Obj.extend(CSSStyleSheetPanel.prototype,
var dummyStyle = dummyElement.style;
// xxxHonza: Not sure why this happens.
- if (!dummyStyle && FBTrace.DBG_ERRORS)
+ if (!dummyStyle)
{
- FBTrace.sysout("css.markOverridenProps; ERROR dummyStyle is NULL");
+ if (FBTrace.DBG_ERRORS)
+ FBTrace.sysout("css.markOverridenProps; ERROR dummyStyle is NULL");
return;
}
--
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