Chromium Code Reviews| Index: third_party/WebKit/Source/devtools/front_end/components/DOMPresentationUtils.js |
| diff --git a/third_party/WebKit/Source/devtools/front_end/components/DOMPresentationUtils.js b/third_party/WebKit/Source/devtools/front_end/components/DOMPresentationUtils.js |
| index 2e2a94bc634d7e85249a1bb9ae90c70bcc4e6bfa..7f6cad2a8966507870efa3c84f0727711b6666d3 100644 |
| --- a/third_party/WebKit/Source/devtools/front_end/components/DOMPresentationUtils.js |
| +++ b/third_party/WebKit/Source/devtools/front_end/components/DOMPresentationUtils.js |
| @@ -236,8 +236,11 @@ WebInspector.DOMPresentationUtils.buildStackTracePreviewContents = function(targ |
| for (var stackFrame of stackTrace.callFrames) { |
| var row = createElement("tr"); |
| row.createChild("td", "function-name").textContent = WebInspector.beautifyFunctionName(stackFrame.functionName); |
| - row.createChild("td").textContent = " @ "; |
| - row.createChild("td").appendChild(linkifier.linkifyConsoleCallFrame(target, stackFrame)); |
| + var link = linkifier.linkifyConsoleCallFrame(target, stackFrame); |
| + if (link) { |
| + row.createChild("td").textContent = " @ "; |
|
dgozman
2016/07/16 20:34:39
I think it would still be useful to see "url:lineN
alph
2016/07/18 19:28:53
Agree. Done that in maybeLinkifyScriptLocation
|
| + row.createChild("td").appendChild(link); |
| + } |
| contentElement.appendChild(row); |
| } |
| } |