context:     showMembers: function(members, update, scrollTop)    {        // If we are still in the midst of inserting rows, cancel all pending        // insertions here - this is a big speedup when stepping in the debugger        if (this.timeouts)        {            for (var i = 0; i < this.timeouts.length; ++i)                this.context.clearTimeout(this.timeouts[i]);            delete this.timeouts;        }                if (!members.length)            return this.showEmptyMembers();                var panelNode = this.panelNode;        var priorScrollTop = scrollTop == undefined ? panelNode.scrollTop : scrollTop;        // If we are asked to "update" the current view, then build the new table        // offscreen and swap it in when it's done        var offscreen = update && panelNode.firstChild;        var dest = offscreen ? this.document : panelNode;                var table = this.tag.replace({domPanel: this, toggles: this.toggles}, dest);        var tbody = table.lastChild;                    var rowTag = DirTablePlate.rowTag;        // Insert the first slice immediately        var slice = members.splice(0, insertSliceSize);        rowTag.insertRows({members: slice}, tbody.lastChild);        var timeouts = [];                var delay = 0;        while (members.length)        {            timeouts.push(this.context.setTimeout(function(slice)            {                rowTag.insertRows({members: slice}, tbody.lastChild);                                if ((panelNode.scrollHeight+panelNode.offsetHeight) >= priorScrollTop)                    panelNode.scrollTop = priorScrollTop;            }, delay, members.splice(0, insertSliceSize)));                        delay += insertInterval;        }        if (offscreen)        {            timeouts.push(this.context.setTimeout(function()            {                if (panelNode.firstChild)                    panelNode.replaceChild(table, panelNode.firstChild);                else                    panelNode.appendChild(table);                // Scroll back to where we were before                panelNode.scrollTop = priorScrollTop;            }, delay));        }        else        {            timeouts.push(this.context.setTimeout(function()            {                panelNode.scrollTop = scrollTop == undefined ? 0 : scrollTop;            }, delay));        }                this.timeouts = [];    },
meta: 7450	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/7450/e1d42ad3fad63b72826a4e2ed0726866484c9ac3/dom.js/buggy/extension/content/firebug/dom.js