rem: var categoryOrder = ["documents", "stylesheets", "images", "scripts", "other"]; var categoryColors = {documents: {r: 47, g: 102, b: 236}, stylesheets: {r: 157, g: 231, b: 119}, images: {r: 164, g: 60, b: 255}, scripts: {r: 255, g: 121, b: 0}, other: {r: 186, g: 186, b: 186}}; 
add: var categoryOrder = ["documents", "stylesheets", "images", "fonts", "scripts", "other"]; var categoryColors = {documents: {r: 47, g: 102, b: 236}, stylesheets: {r: 157, g: 231, b: 119}, images: {r: 164, g: 60, b: 255}, fonts: {r: 255, g: 10, b: 10}, scripts: {r: 255, g: 121, b: 0}, other: {r: 186, g: 186, b: 186}}; 
context:     updateSummaryGraph: function()    {        if ("updateSummaryGraphTimeout" in this) {            clearTimeout(this.updateSummaryGraphTimeout);            delete this.updateSummaryGraphTimeout;        }        var graphInfo = this.calculator.computeValues(this.timelineEntries);        var categoryOrder = ["documents", "stylesheets", "images", "scripts", "other"];        var categoryColors = {documents: {r: 47, g: 102, b: 236}, stylesheets: {r: 157, g: 231, b: 119}, images: {r: 164, g: 60, b: 255}, scripts: {r: 255, g: 121, b: 0}, other: {r: 186, g: 186, b: 186}};        var fillSegments = [];        this.legendElement.removeChildren();        if (this.totalLegendLabel)            this.totalLegendLabel.parentNode.removeChild(this.totalLegendLabel);        this.totalLegendLabel = this.makeLegendElement(this.calculator.title, this.calculator.formatValue(graphInfo.total));        this.totalLegendLabel.addStyleClass("network-graph-legend-total");        this.graphLabelElement.appendChild(this.totalLegendLabel);        for (var i = 0; i < categoryOrder.length; ++i) {            var category = categoryOrder[i];            var size = graphInfo.categoryValues[category];            if (!size)                continue;            var color = categoryColors[category];            var colorString = "rgb(" + color.r + ", " + color.g + ", " + color.b + ")";            var fillSegment = {color: colorString, value: size};            fillSegments.push(fillSegment);            var legendLabel = this.makeLegendElement(category, this.calculator.formatValue(size), colorString);            this.legendElement.appendChild(legendLabel);        }        this.drawSummaryGraph(fillSegments);    },
meta: 5650	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5650/81abc84dcf5f8eaa2dfbd11f9563bb8fc5f4c630/NetworkPanel.js/buggy/WebCore/page/inspector/NetworkPanel.js