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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-compile-and-run.html

Issue 2249743006: [DevTools] Fill ExceptionDetails with more details, unify usage across protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: browser test 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/inspector/sources/debugger/debugger-compile-and-run.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-compile-and-run.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-compile-and-run.html
index 15d23ff089afbc8e939ec2b986e3800213c35aca..c8f56c526e4d6dd34e1732dc3d2b40e8d7a2b066 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-compile-and-run.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-compile-and-run.html
@@ -7,8 +7,11 @@ var test = function()
{
function printExceptionDetails(exceptionDetails)
{
- InspectorTest.addResult("exceptionDetails:")
- InspectorTest.addResult(" " + exceptionDetails.text);
+ InspectorTest.addResult("exceptionDetails:");
+ var text = exceptionDetails.text;
+ if (exceptionDetails.exception)
+ text += " " + exceptionDetails.exception.description;
+ InspectorTest.addResult(" " + text);
InspectorTest.addResult(" line: " + exceptionDetails.lineNumber + ", column: " + exceptionDetails.columnNumber);
var stack = exceptionDetails.stackTrace ? exceptionDetails.stackTrace.callFrames : null;

Powered by Google App Engine
This is Rietveld 408576698