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

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/debugger/setScriptSource.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-protocol/debugger/setScriptSource.html
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/debugger/setScriptSource.html b/third_party/WebKit/LayoutTests/inspector-protocol/debugger/setScriptSource.html
index 1954945906df260cff5948871bdbc9ec0429fcf9..8ebeac2307126e30ac033b3a05ef5734918abb97 100644
--- a/third_party/WebKit/LayoutTests/inspector-protocol/debugger/setScriptSource.html
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/debugger/setScriptSource.html
@@ -140,11 +140,11 @@ function test()
}
function errorCallbackSetScriptSource2(result) {
- var compileError = result.compileError;
- logCheck("Has error reported", !!compileError);
- logCheck("Reported error is a compile error", !!compileError);
- if (compileError)
- logEqualsCheck(compileError.lineNumber, 1);
+ var exceptionDetails = result.exceptionDetails;
+ logCheck("Has error reported", !!exceptionDetails);
+ logCheck("Reported error is a compile error", !!exceptionDetails);
+ if (exceptionDetails)
+ logEqualsCheck(exceptionDetails.lineNumber, 1);
return next;
}
}

Powered by Google App Engine
This is Rietveld 408576698