Because i dont know how i made this bug to appear, I can't provide a test 
case and therefore "properly" report it.

And I refuse to provide test case for obvious programming errors. :)

------------------------------------------------------------------------------------------------
So here it goes:
------------------------------------------------------------------------------------------------
Firebug: 1.11.0b2
Firefox 17.0
OS: win xp sp3
------------------------------------------------------------------------------------------------
Error:
------------------------------------------------------------------------------------------------
Error: TypeError: child is null
Source File: chrome://firebug/content/css/stylePanel.js
Line: 879
------------------------------------------------------------------------------------------------
Error in function: getFontPropValueParts 
------------------------------------------------------------------------------------------------
    var child = element.firstChild;
    do
    {
        if (child.nodeType == Node.TEXT_NODE) // <---- Line: 879
            usedFonts = Arr.extendArray(usedFonts, Fonts.getFonts(child));
    } while (child = child.nextSibling);
------------------------------------------------------------------------------------------------
it _probably_ should be smth like ...
------------------------------------------------------------------------------------------------
    var child = element.firstChild;
    while(child)
    {
        if (child.nodeType == Node.TEXT_NODE) // <---- Line: 879
            usedFonts = Arr.extendArray(usedFonts, Fonts.getFonts(child));
        child = child.nextSibling;
    }

------------------------------------------------------------------------------------------------


So I leave it here and consider self.karma++, rite?

-- 
You received this message because you are subscribed to the Google
Groups "Firebug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
https://groups.google.com/forum/#!forum/firebug

Reply via email to