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

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-callFunctionOn-async-expected.txt

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/runtime/runtime-callFunctionOn-async-expected.txt
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-callFunctionOn-async-expected.txt b/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-callFunctionOn-async-expected.txt
index 23f74570175337832f267024a4607f4a5083a521..7216acded3bfcd3898a26ec780d0f010b8a868ee 100644
--- a/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-callFunctionOn-async-expected.txt
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-callFunctionOn-async-expected.txt
@@ -13,9 +13,17 @@ Running test: testSyntaxErrorInFunction
{
exceptionDetails : {
columnNumber : 2
+ exception : {
+ className : SyntaxError
+ description : SyntaxError: Unexpected token }
+ objectId : 0
+ subtype : error
+ type : object
+ }
+ exceptionId : 0
lineNumber : 1
scriptId : 0
- text : Uncaught SyntaxError: Unexpected token }
+ text : Uncaught
}
result : {
className : SyntaxError
@@ -30,9 +38,17 @@ Running test: testExceptionInFunctionExpression
{
exceptionDetails : {
columnNumber : 15
+ exception : {
+ className : Error
+ description : Error at <anonymous>:1:22 at <anonymous>:1:36
+ objectId : 0
+ subtype : error
+ type : object
+ }
+ exceptionId : 0
lineNumber : 0
scriptId : 0
- text : Uncaught Error
+ text : Uncaught
}
result : {
className : Error
@@ -85,13 +101,20 @@ Running test: testFunctionReturnRejectedPromise
{
exceptionDetails : {
columnNumber : 0
+ exception : {
+ objectId : 0
+ type : object
+ value : {
+ a : 3
+ }
+ }
+ exceptionId : 0
lineNumber : 0
- scriptId :
stackTrace : {
callFrames : [
]
}
- text : Promise was rejected
+ text : Uncaught (in promise)
}
result : {
type : object

Powered by Google App Engine
This is Rietveld 408576698