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

Unified Diff: test/inspector/runtime/call-function-on-async-expected.txt

Issue 2390733002: [inspector] Make InspectorTest.sendCommand* private (Closed)
Patch Set: addressed comments Created 4 years, 2 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: test/inspector/runtime/call-function-on-async-expected.txt
diff --git a/test/inspector/runtime/call-function-on-async-expected.txt b/test/inspector/runtime/call-function-on-async-expected.txt
index cb173f3e4385f3df9b538a2a84c81af5ff27a253..2d558b85dd8c86e5754678957957b1b533586095 100644
--- a/test/inspector/runtime/call-function-on-async-expected.txt
+++ b/test/inspector/runtime/call-function-on-async-expected.txt
@@ -2,59 +2,68 @@ Tests that Runtime.callFunctionOn works with awaitPromise flag.
Running test: testArguments
{
+ id : <messageId>
result : {
- type : string
- value : undefined|NaN|[object Object]|[object Object]
+ result : {
+ type : string
+ value : undefined|NaN|[object Object]|[object Object]
+ }
}
}
Running test: testSyntaxErrorInFunction
{
- exceptionDetails : {
- columnNumber : 2
- exception : {
+ id : <messageId>
+ result : {
+ exceptionDetails : {
+ columnNumber : 2
+ exception : {
+ className : SyntaxError
+ description : SyntaxError: Unexpected token }
+ objectId : <objectId>
+ subtype : error
+ type : object
+ }
+ exceptionId : <exceptionId>
+ lineNumber : 1
+ scriptId : <scriptId>
+ text : Uncaught
+ }
+ result : {
className : SyntaxError
description : SyntaxError: Unexpected token }
- objectId : 0
+ objectId : <objectId>
subtype : error
type : object
}
- exceptionId : 0
- lineNumber : 1
- scriptId : 0
- text : Uncaught
- }
- result : {
- className : SyntaxError
- description : SyntaxError: Unexpected token }
- objectId : [ObjectId]
- subtype : error
- type : object
}
}
Running test: testExceptionInFunctionExpression
{
- exceptionDetails : {
- columnNumber : 15
- exception : {
+ id : <messageId>
+ result : {
+ exceptionDetails : {
+ columnNumber : 15
+ exception : {
+ className : Error
+ description : Error at <anonymous>:1:22 at <anonymous>:1:36
+ objectId : <objectId>
+ subtype : error
+ type : object
+ }
+ exceptionId : <exceptionId>
+ lineNumber : 0
+ scriptId : <scriptId>
+ text : Uncaught
+ }
+ result : {
className : Error
description : Error at <anonymous>:1:22 at <anonymous>:1:36
- objectId : 0
+ objectId : <objectId>
subtype : error
type : object
}
- exceptionId : 0
- lineNumber : 0
- scriptId : 0
- text : Uncaught
- }
- result : {
- className : Error
- description : Error at <anonymous>:1:22 at <anonymous>:1:36
- objectId : [ObjectId]
- subtype : error
- type : object
}
}
@@ -66,60 +75,67 @@ Running test: testFunctionReturnNotPromise
Running test: testFunctionReturnResolvedPromiseReturnByValue
{
+ id : <messageId>
result : {
- type : object
- value : {
- a : 3
+ result : {
+ type : object
+ value : {
+ a : 3
+ }
}
}
}
Running test: testFunctionReturnResolvedPromiseWithPreview
{
+ id : <messageId>
result : {
- className : Object
- description : Object
- objectId : [ObjectId]
- preview : {
+ result : {
+ className : Object
description : Object
- overflow : false
- properties : [
- [0] : {
- name : a
- type : number
- value : 3
- }
- ]
+ objectId : <objectId>
+ preview : {
+ description : Object
+ overflow : false
+ properties : [
+ [0] : {
+ name : a
+ type : number
+ value : 3
+ }
+ ]
+ type : object
+ }
type : object
}
- type : object
}
}
Running test: testFunctionReturnRejectedPromise
{
- exceptionDetails : {
- columnNumber : 0
- exception : {
- objectId : 0
+ id : <messageId>
+ result : {
+ exceptionDetails : {
+ columnNumber : 0
+ exception : {
+ type : object
+ value : {
+ a : 3
+ }
+ }
+ exceptionId : <exceptionId>
+ lineNumber : 0
+ stackTrace : {
+ callFrames : [
+ ]
+ }
+ text : Uncaught (in promise)
+ }
+ result : {
type : object
value : {
a : 3
}
}
- exceptionId : 0
- lineNumber : 0
- stackTrace : {
- callFrames : [
- ]
- }
- text : Uncaught (in promise)
}
- result : {
- type : object
- value : {
- a : 3
- }
- }
-}
-
+}
« no previous file with comments | « test/inspector/runtime/call-function-on-async.js ('k') | test/inspector/runtime/clear-of-command-line-api.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698