rem: timeOptionElement.textContent = "Transfer Time"; 
context: WebInspector.NetworkPanel = function(){    WebInspector.Panel.call(this);    this.timelineEntries = [];    this.timelineElement = document.createElement("div");    this.timelineElement.className = "network-timeline";    this.element.appendChild(this.timelineElement);    this.summaryElement = document.createElement("div");    this.summaryElement.className = "network-summary";    this.element.appendChild(this.summaryElement);    this.dividersElement = document.createElement("div");    this.dividersElement.className = "network-dividers";    this.timelineElement.appendChild(this.dividersElement);    this.resourcesElement = document.createElement("div");    this.resourcesElement.className = "network-resources";    var panel = this;    this.resourcesElement.addEventListener("click", function(event) { return panel.onClick(event) }, false);    this.timelineElement.appendChild(this.resourcesElement);    var graphArea = document.createElement("div");    graphArea.className = "network-graph-area";    this.summaryElement.appendChild(graphArea);    this.graphLabelElement = document.createElement("div");    this.graphLabelElement.className = "network-graph-label";    graphArea.appendChild(this.graphLabelElement);    this.graphModeSelectElement = document.createElement("select");    this.graphModeSelectElement.className = "network-graph-mode";    this.graphModeSelectElement.addEventListener("change", function(event) { return panel.onModeChange(event) }, false);    this.graphLabelElement.appendChild(this.graphModeSelectElement);    this.graphLabelElement.appendChild(document.createElement("br"));    var sizeOptionElement = document.createElement("option");    sizeOptionElement.textContent = "Transfer Size";    sizeOptionElement.calculator = new WebInspector.TransferSizeCalculator();    this.graphModeSelectElement.appendChild(sizeOptionElement);    var timeOptionElement = document.createElement("option");    timeOptionElement.textContent = "Transfer Time";    timeOptionElement.calculator = new WebInspector.TransferTimeCalculator();    this.graphModeSelectElement.appendChild(timeOptionElement);    var graphSideElement = document.createElement("div");    graphSideElement.className = "network-graph-side";    graphArea.appendChild(graphSideElement);    this.summaryGraphElement = document.createElement("canvas");    this.summaryGraphElement.setAttribute("width", "450");    this.summaryGraphElement.setAttribute("height", "38");    this.summaryGraphElement.className = "network-summary-graph";    graphSideElement.appendChild(this.summaryGraphElement);    this.legendElement = document.createElement("div");    this.legendElement.className = "network-graph-legend";    graphSideElement.appendChild(this.legendElement);    this.drawSummaryGraph(); // draws an empty graph    this.needsRefresh = true; }
meta: 5650	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5650/81abc84dcf5f8eaa2dfbd11f9563bb8fc5f4c630/NetworkPanel.js/buggy/WebCore/page/inspector/NetworkPanel.js