rem: var title = prototype.toString().replace(/^\[object (\w*?)(Prototype)?\]$/i, "$1"); 
add: var title = Object.prototype.toString.call(prototype).replace(/^\[object (\w*?)(Prototype)?\]$/i, "$1"); 
context:     updateProperties: function()    {        if (!this.views.dom.contentElement.sidebarPanes.properties.expanded)            return;        if (!this.views.dom.contentElement.sidebarPanes.properties.needsUpdate)            return;        this.views.dom.contentElement.sidebarPanes.properties.needsUpdate = false;        var propertiesBody = this.views.dom.contentElement.sidebarPanes.properties.bodyElement;        propertiesBody.removeChildren();        this.views.dom.contentElement.sidebarPanes.properties.sections = [];        if (!this.focusedDOMNode)            return;        for (var prototype = this.focusedDOMNode; prototype; prototype = prototype.__proto__) {            var hasChildren = false;            for (var prop in prototype) {                if (prop === "__treeElementIdentifier")                    continue;                if (!prototype.hasOwnProperty(prop))                    continue;                hasChildren = true;                break;            }            if (!hasChildren)                continue;            var title = prototype.toString().replace(/^\[object (\w*?)(Prototype)?\]$/i, "$1");            var section = new WebInspector.PropertiesSection(title);            section.onpopulate = WebInspector.DOMPropertiesSection.onpopulate(prototype);            propertiesBody.appendChild(section.element);            this.views.dom.contentElement.sidebarPanes.properties.sections.push(section);        }    },
meta: 5650	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5650/86fb550dd25b6d693d2fcd14a281da12b6a5672b/ResourcePanel.js/clean/WebCore/page/inspector/ResourcePanel.js