[Pkg-mozext-commits] [firebug] 02/55: Avoid potential dereference bug

David Prévot taffit at moszumanska.debian.org
Mon Mar 31 22:46:06 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 ee891a7d52241db2c51a7f280bdcfc9683dfffee
Author: Steven Roussey <sroussey at gmail.com>
Date:   Sat Jul 14 11:27:53 2012 -0700

    Avoid potential dereference bug
---
 extension/content/firebug/html/inspector.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extension/content/firebug/html/inspector.js b/extension/content/firebug/html/inspector.js
index 1f08d2c..bcd1de2 100644
--- a/extension/content/firebug/html/inspector.js
+++ b/extension/content/firebug/html/inspector.js
@@ -1288,7 +1288,7 @@ Firebug.Inspector.FrameHighlighter.prototype =
                 }
 
                 // otherwise the proxies take up screen space in browser.xul
-                if (element.ownerDocument.contentType.indexOf("xul") === -1)
+                if (element.ownerDocument && element.ownerDocument.contentType.indexOf("xul") === -1)
                     createProxiesForDisabledElements(body);
             }
         }

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