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

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-runScript-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-runScript-async-expected.txt
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-runScript-async-expected.txt b/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-runScript-async-expected.txt
index ba6ad4b92ebdc247240fecc235db35c8fd5eee8c..47b1742861d431677559e4cd3b9c7e84d70fec5d 100644
--- a/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-runScript-async-expected.txt
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-runScript-async-expected.txt
@@ -15,9 +15,17 @@ Running test: testSyntaxErrorInScript
{
exceptionDetails : {
columnNumber : 1
+ 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
}
}
@@ -25,6 +33,14 @@ Running test: testSyntaxErrorInEvalInScript
{
exceptionDetails : {
columnNumber : 0
+ exception : {
+ className : SyntaxError
+ description : SyntaxError: Unexpected token } at boo.js:2:2
+ objectId : 0
+ subtype : error
+ type : object
+ }
+ exceptionId : 0
lineNumber : 0
scriptId : 0
stackTrace : {
@@ -38,7 +54,7 @@ Running test: testSyntaxErrorInEvalInScript
}
]
}
- text : Uncaught SyntaxError: Unexpected token }
+ text : Uncaught
}
result : {
className : SyntaxError
@@ -117,13 +133,20 @@ Running test: testAwaitRejectedPromise
{
exceptionDetails : {
columnNumber : 0
+ exception : {
+ objectId : 0
+ type : object
+ value : {
+ a : 1
+ }
+ }
+ 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