Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(396)

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/console-test.js

Issue 2284123002: [DevTools] Format console.log(new Error()) same as console.log(new Error().stack) (Closed)
Patch Set: removed elipsis Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)

Powered by Google App Engine
This is Rietveld 408576698