Index: third_party/WebKit/Source/devtools/front_end/timeline/TimelineUIUtils.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineUIUtils.js b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineUIUtils.js |
index a69268d31b60d690496e6cf1554a9937562246cb..f198907e043b8d7410a9d1d5ac83b918470fb083 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineUIUtils.js |
+++ b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineUIUtils.js |
@@ -469,7 +469,13 @@ WebInspector.TimelineUIUtils.buildDetailsTextForTraceEvent = function(event, tar |
function linkifyTopCallFrameAsText() |
{ |
var frame = WebInspector.TimelineUIUtils.topStackFrame(event); |
- return frame ? linkifyLocationAsText(frame.scriptId, frame.lineNumber, frame.columnNumber) : null; |
+ var text = frame ? linkifyLocationAsText(frame.scriptId, frame.lineNumber, frame.columnNumber) : null; |
+ if (frame && !text) { |
+ text = frame.url; |
+ if (typeof frame.lineNumber === "number") |
+ text += ":" + (frame.lineNumber + 1); |
+ } |
+ return text; |
} |
} |