Index: third_party/WebKit/LayoutTests/http/tests/inspector/console-test.js |
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/console-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/console-test.js |
index fd341208f6d3b16d4bca85a44704212991392dc1..805380c5668e661ebac2ac864198fb2645a7b8b1 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/console-test.js |
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/console-test.js |
@@ -318,23 +318,7 @@ InspectorTest.expandConsoleMessagesErrorParameters = function(callback) |
// Initiate round-trips to fetch necessary data for further rendering. |
for (var i = 0; i < messageViews.length; ++i) |
messageViews[i].contentElement(); |
- InspectorTest.deprecatedRunAfterPendingDispatches(expandErrorParameters); |
- function expandErrorParameters() |
- { |
- for (var i = 0; i < messageViews.length; ++i) { |
- var element = messageViews[i].contentElement(); |
- var spans = element.querySelectorAll("span.object-value-error"); |
- for (var j = 0; j < spans.length; ++j) { |
- var links = spans[j].querySelectorAll("a"); |
- for (var k = 0; k < links.length; ++k) { |
- var link = links[k]; |
- if (link && link._showDetailedForTest) |
- link._showDetailedForTest(); |
- } |
- } |
- } |
- callback(); |
- } |
+ InspectorTest.deprecatedRunAfterPendingDispatches(callback); |
} |
InspectorTest.waitForRemoteObjectsConsoleMessages = function(callback) |