Index: third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js |
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js |
index 58e5dbad34ef3948348886024b38ea76f371fe48..bf593418c118b275fe6ace6b5d9b67720019387e 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js |
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js |
@@ -360,7 +360,12 @@ InspectorTest.dumpNavigatorView = function(navigatorView) |
function dumpNavigatorTreeElement(prefix, treeElement) |
{ |
- InspectorTest.addResult(prefix + treeElement.title); |
+ var titleText; |
+ if (treeElement.title instanceof Element) |
+ titleText = treeElement.title.firstChild.textContent + " [mapped]"; |
+ else |
+ titleText = treeElement.title; |
+ InspectorTest.addResult(prefix + titleText); |
treeElement.expand(); |
var children = treeElement.children(); |
for (var i = 0; i < children.length; ++i) |