Changeset 58419 in webkit
- Timestamp:
- Apr 28, 2010 12:15:03 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r58412 r58419 1 2010-04-28 Ilya Tikhonovsky <loislo@chromium.org> 2 3 Reviewed by Yury Semikhatsky. 4 5 WebInspector: Timeline: We can have precise urls in the EvaluateScript records. 6 https://bugs.webkit.org/show_bug.cgi?id=38264 7 8 * inspector/front-end/TimelinePanel.js: 9 (WebInspector.TimelinePanel.FormattedRecord.prototype._generatePopupContent): 10 (WebInspector.TimelinePanel.FormattedRecord.prototype._getRecordDetails): 11 1 12 2010-04-28 Pavel Feldman <pfeldman@chromium.org> 2 13 -
trunk/WebCore/inspector/front-end/TimelinePanel.js
r58242 r58419 952 952 recordContentTable.appendChild(this._createRow(WebInspector.UIString("Expected Content Length"), this.data.expectedContentLength)); 953 953 } else if (this.type === recordTypes.EvaluateScript) { 954 var link = WebInspector.linkifyResourceAsNode(this.data.url, "scripts", null, "timeline-details");954 var link = WebInspector.linkifyResourceAsNode(this.data.url, "scripts", this.data.lineNumber, "timeline-details"); 955 955 recordContentTable.appendChild(this._createLinkRow(WebInspector.UIString("Script"), link)); 956 956 } else if (this.type === recordTypes.Paint) { … … 986 986 case WebInspector.TimelineAgent.RecordType.TimerFire: 987 987 return record.data.timerId; 988 case WebInspector.TimelineAgent.RecordType.EvaluateScript: 989 return record.data.url ? WebInspector.displayNameForURL(record.data.url) + ":" + record.data.lineNumber : ""; 988 990 case WebInspector.TimelineAgent.RecordType.XHRReadyStateChange: 989 991 case WebInspector.TimelineAgent.RecordType.XHRLoad: 990 case WebInspector.TimelineAgent.RecordType.EvaluateScript:991 992 case WebInspector.TimelineAgent.RecordType.ResourceSendRequest: 992 993 case WebInspector.TimelineAgent.RecordType.ResourceReceiveData:
Note: See TracChangeset
for help on using the changeset viewer.