Changeset 50885 in webkit
- Timestamp:
- Nov 12, 2009 10:23:56 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r50884 r50885 1 2009-11-12 Pavel Feldman <pfeldman@chromium.org> 2 3 Reviewed by Timothy Hatcher. 4 5 Web Inspector: Minor timeline fixes. 6 7 https://bugs.webkit.org/show_bug.cgi?id=31417 8 9 * inspector/front-end/TimelinePanel.js: 10 (WebInspector.TimelinePanel.prototype._getRecordDetails): 11 (WebInspector.TimelineRecordTreeElement.prototype.onattach): 12 (WebInspector.TimelineRecordTreeElement.prototype._updateDetails): 13 (WebInspector.TimelineRecordTreeElement.prototype.refresh): 14 1 15 2009-11-12 Alexey Proskuryakov <ap@apple.com> 2 16 -
trunk/WebCore/inspector/front-end/TimelinePanel.js
r50597 r50885 211 211 case WebInspector.TimelineAgent.RecordType.ResourceReceiveResponse: 212 212 case WebInspector.TimelineAgent.RecordType.ResourceFinish: 213 return WebInspector.displayNameForURL(this._sendRequestRecords[record.data.identifier].data.url); 213 var sendRequestRecord = this._sendRequestRecords[record.data.identifier]; 214 return sendRequestRecord ? WebInspector.displayNameForURL(sendRequestRecord.data.url) : ""; 214 215 case WebInspector.TimelineAgent.RecordType.MarkTimeline: 215 216 return record.data.message; … … 533 534 this.dataElement = document.createElement("span"); 534 535 this.dataElement.className = "data dimmed"; 535 this.dataElement.textContent = "(" + this._record.details + ")"; 536 this.dataElement.title = this._record.details; 536 this._updateDetails(); 537 537 538 538 this.listItemElement.appendChild(separatorElement); … … 541 541 }, 542 542 543 _updateDetails: function() { 544 if (this.dataElement && this._record.details !== this._details) { 545 this._details = this._record.details; 546 this.dataElement.textContent = "(" + this._details + ")"; 547 this.dataElement.title = this._details; 548 } 549 }, 550 543 551 refresh: function() 544 552 { 545 if (this._record.details) { 546 this.dataElement.textContent = "(" + this._record.details + ")"; 547 this.dataElement.title = this._record.details; 548 } 553 this._updateDetails(); 549 554 550 555 if (this._record.count <= 1)
Note: See TracChangeset
for help on using the changeset viewer.