No subject
Tue Jan 27 15:54:36 PST 2015
var dividerElement = this._headerElement.firstChild;
for (var i = 0; i <= dividerCount; ++i) {
if (!dividerElement) {
dividerElement = document.createElement("div");
dividerElement.className = WebInspector.TimelineRuler.DividerElementStyleClassName;
this._headerElement.appendChild(dividerElement);
var labelElement = document.createElement("div");
labelElement.className = WebInspector.TimelineRuler.DividerLabelElementStyleClassName;
dividerElement._labelElement = labelElement;
dividerElement.appendChild(labelElement);
}
// ...
var dividerTime = firstDividerTime + (sliceTime * i);
// ...
dividerElement._labelElement.textContent = isNaN(dividerTime) ? "" : Number.secondsToString(dividerTime - this._zeroTime, true);
dividerElement = dividerElement.nextSibling;
}
The exceptions happens on the second to last line in the loop. dividerElement._labelElement is undefined, but it should never be.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>
--1430070566.B0Eac8.6568--
More information about the webkit-unassigned
mailing list