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

Unified Diff: test/inspector/runtime/await-promise-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
« no previous file with comments | « test/inspector/runtime/await-promise.js ('k') | test/inspector/runtime/call-function-on-async.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/inspector/runtime/await-promise-expected.txt
diff --git a/test/inspector/runtime/await-promise-expected.txt b/test/inspector/runtime/await-promise-expected.txt
index a1101c5c0ec3a15594c0aa4ec1bbefcd2faed9b1..e23ead86cd0a2be0f4820a609bfcc268de3aae6b 100644
--- a/test/inspector/runtime/await-promise-expected.txt
+++ b/test/inspector/runtime/await-promise-expected.txt
@@ -2,103 +2,118 @@ Tests that Runtime.awaitPromise works.
Running test: testResolvedPromise
{
+ id : <messageId>
result : {
- description : 239
- type : number
- value : 239
+ result : {
+ description : 239
+ type : number
+ value : 239
+ }
}
}
Running test: testRejectedPromise
{
- exceptionDetails : {
- columnNumber : 0
- exception : {
- objectId : 0
+ id : <messageId>
+ result : {
+ exceptionDetails : {
+ columnNumber : 0
+ exception : {
+ type : object
+ value : {
+ a : 1
+ }
+ }
+ exceptionId : <exceptionId>
+ lineNumber : 0
+ stackTrace : {
+ callFrames : [
+ ]
+ }
+ text : Uncaught (in promise)
+ }
+ result : {
type : object
value : {
a : 1
}
}
- exceptionId : 0
- lineNumber : 0
- stackTrace : {
- callFrames : [
- ]
- }
- text : Uncaught (in promise)
- }
- result : {
- type : object
- value : {
- a : 1
- }
}
}
Running test: testRejectedPromiseWithStack
{
- exceptionDetails : {
- columnNumber : 0
- exception : {
- description : 239
- objectId : 0
- type : number
- value : 239
- }
- exceptionId : 0
- lineNumber : 0
- stackTrace : {
- callFrames : [
- ]
- parent : {
+ id : <messageId>
+ result : {
+ exceptionDetails : {
+ columnNumber : 0
+ exception : {
+ description : 239
+ type : number
+ value : 239
+ }
+ exceptionId : <exceptionId>
+ lineNumber : 0
+ stackTrace : {
callFrames : [
- [0] : {
- columnNumber : 4
- functionName : rejectPromise
- lineNumber : 17
- scriptId : 0
- url : test.js
- }
- [1] : {
- columnNumber : 0
- functionName : (anonymous)
- lineNumber : 0
- scriptId : 0
- url : (empty)
- }
]
- description : Promise.reject
+ parent : {
+ callFrames : [
+ [0] : {
+ columnNumber : 4
+ functionName : rejectPromise
+ lineNumber : 17
+ scriptId : <scriptId>
+ url : test.js
+ }
+ [1] : {
+ columnNumber : 0
+ functionName :
+ lineNumber : 0
+ scriptId : <scriptId>
+ url :
+ }
+ ]
+ description : Promise.reject
+ }
}
+ text : Uncaught (in promise)
+ }
+ result : {
+ description : 239
+ type : number
+ value : 239
}
- text : Uncaught (in promise)
- }
- result : {
- description : 239
- type : number
- value : 239
}
}
Running test: testPendingPromise
{
+ id : <messageId>
result : {
- description : 239
- type : number
- value : 239
+ result : {
+ description : 239
+ type : number
+ value : 239
+ }
}
}
Running test: testResolvedWithoutArgsPromise
{
+ id : <messageId>
result : {
- type : undefined
+ result : {
+ type : undefined
+ }
}
}
Running test: testGarbageCollectedPromise
{
- code : -32000
- message : Promise was collected
+ error : {
+ code : -32000
+ message : Promise was collected
+ }
+ id : <messageId>
}
-
« no previous file with comments | « test/inspector/runtime/await-promise.js ('k') | test/inspector/runtime/call-function-on-async.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698