[Pkg-mozext-commits] [firebug] 05/68: Need to check if CSSPageRule is defined before using it (related to issue 6282)

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


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

taffit pushed a commit to tag fbtest-1.11.4
in repository firebug.

commit 83366b4a1cbeaf1a92c3daa28cbf3b62abc5dd10
Author: Sebastian Zartner <sebastianzartner at gmail.com>
Date:   Thu Feb 21 21:30:40 2013 +0100

    Need to check if CSSPageRule is defined before using it (related to
    issue 6282)
---
 extension/content/firebug/css/cssPanel.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extension/content/firebug/css/cssPanel.js b/extension/content/firebug/css/cssPanel.js
index 9253ecd..f4bde6a 100644
--- a/extension/content/firebug/css/cssPanel.js
+++ b/extension/content/firebug/css/cssPanel.js
@@ -443,7 +443,7 @@ Firebug.CSSStyleSheetPanel.prototype = Obj.extend(Firebug.Panel,
                 else if (rule instanceof window.CSSNameSpaceRule &&
                     !(rule instanceof window.MozCSSKeyframesRule ||
                         rule instanceof window.MozCSSKeyframeRule ||
-                        rule instanceof window.CSSPageRule))
+                        (window.CSSPageRule && rule instanceof window.CSSPageRule)))
                 {
 
                 	// Workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=754772

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