[Pkg-mozext-commits] [firebug] 55/82: Issue 6187: Some elements shown as non-expandable in the DOM panel

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


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

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

commit 0745128ad7f5450cd728a4d31293864e11231cae
Author: Simon Lindholm <simon.lindholm10 at gmail.com>
Date:   Sun Jan 13 01:45:00 2013 +0100

    Issue 6187: Some elements shown as non-expandable in the DOM panel
    
    http://code.google.com/p/fbug/issues/detail?id=6187
---
 extension/content/firebug/lib/object.js | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/extension/content/firebug/lib/object.js b/extension/content/firebug/lib/object.js
index 5656d57..d5dc624 100644
--- a/extension/content/firebug/lib/object.js
+++ b/extension/content/firebug/lib/object.js
@@ -80,13 +80,7 @@ Obj.hasProperties = function(ob, nonEnumProps, ownPropsOnly)
         if (!nonEnumProps && !ownPropsOnly)
         {
             for (var name in ob)
-            {
-                // Try to access the property before declaring existing properties.
-                // It's because some properties can't be read see:
-                // issue 3843, https://bugzilla.mozilla.org/show_bug.cgi?id=455013
-                var value = ob[name];
                 return true;
-            }
             return false;
         }
 
@@ -103,13 +97,7 @@ Obj.hasProperties = function(ob, nonEnumProps, ownPropsOnly)
             props = Object.keys(ob);
 
         if (props.length)
-        {
-            // Try to access the property before declaring existing properties.
-            // It's because some properties can't be read see:
-            // issue 3843, https://bugzilla.mozilla.org/show_bug.cgi?id=455013
-            var value = ob[props[0]];
             return true;
-        }
 
         // Not interested in inherited properties, bail out.
         if (ownPropsOnly)

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