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

Unified Diff: Source/devtools/front_end/console/ConsoleViewMessage.js

Issue 1186093002: [DevTools] Fixed multiline error messages (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added test Created 5 years, 6 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
« no previous file with comments | « Source/core/inspector/InjectedScriptSource.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/console/ConsoleViewMessage.js
diff --git a/Source/devtools/front_end/console/ConsoleViewMessage.js b/Source/devtools/front_end/console/ConsoleViewMessage.js
index 340dfe962aa848cf740d8db8313142f7c0a5de72..52094fcd418426c4444d007fb91326d42d17106f 100644
--- a/Source/devtools/front_end/console/ConsoleViewMessage.js
+++ b/Source/devtools/front_end/console/ConsoleViewMessage.js
@@ -624,6 +624,7 @@ WebInspector.ConsoleViewMessage.prototype = {
span.appendChild(WebInspector.linkifyStringAsFragment(text));
event.consume(true);
}
+ detailedLink._showDetailedForTest = showDetailed.bind(null, new MouseEvent('click'));
yurys 2015/06/17 13:20:23 Why not make showDetails a method instead?
detailedLink.addEventListener("click", showDetailed, false);
}
},
« no previous file with comments | « Source/core/inspector/InjectedScriptSource.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698