[Pkg-mozext-commits] [firebug] 48/55: Issue 4626 (Display of doctype for frames) http://code.google.com/p/fbug/issues/detail?id=4626

David Prévot taffit at moszumanska.debian.org
Mon Mar 31 22:46:12 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 bbc65b96df50fe72d9ad16aa819335dd2b054acd
Author: Sebastian Zartner <sebastianzartner at gmx.de>
Date:   Mon Jul 30 08:44:14 2012 +0200

    Issue 4626 (Display of doctype for frames)
    http://code.google.com/p/fbug/issues/detail?id=4626
---
 extension/content/firebug/html/htmlPanel.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/extension/content/firebug/html/htmlPanel.js b/extension/content/firebug/html/htmlPanel.js
index d368fbf..0318c9f 100644
--- a/extension/content/firebug/html/htmlPanel.js
+++ b/extension/content/firebug/html/htmlPanel.js
@@ -932,8 +932,8 @@ Firebug.HTMLPanel.prototype = Obj.extend(WalkingPanel,
         {
             if (index == 0)
             {
-                // punch thru and adopt the root element as our child
-                var skipChild = node.contentDocument.documentElement;
+                // punch thru and adopt the document node as our child
+                var skipChild = node.contentDocument.firstChild;
 
                 // (the node's).(type 9 document).(HTMLElement)
                 return this.setEmbedConnection(node, skipChild);

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