Index: third_party/WebKit/LayoutTests/inspector/tracing/timeline-network-resource-details.html |
diff --git a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-network-resource-details.html b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-network-resource-details.html |
index 199e7e424bc4f8d0f0d9e0b59007124746f0b523..d39c6ac6e01600d046d3b59eab3f52f6355b586c 100644 |
--- a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-network-resource-details.html |
+++ b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-network-resource-details.html |
@@ -31,9 +31,10 @@ function test() |
function finish() |
{ |
+ var linkifier = new WebInspector.Linkifier(); |
function printRequestDetails(request) |
{ |
- return WebInspector.TimelineUIUtils.buildNetworkRequestDetails(request, model, null).then(printElement); |
+ return WebInspector.TimelineUIUtils.buildNetworkRequestDetails(request, model, linkifier).then(printElement); |
} |
function printElement(element) |
{ |
@@ -43,7 +44,7 @@ function test() |
var value = rows[i].lastChild.firstChild.textContent; |
if (title === "Duration" || title === "Mime Type") |
value = typeof value; |
- if (title === "URL") |
+ if (/^file:\/\//.test(value)) |
value = /[^/]*$/.exec(value)[0]; |
InspectorTest.addResult(title + ": " + value); |
} |