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

Side by Side 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 unified diff | Download patch
OLDNEW
1 Tests that Runtime.awaitPromise works. 1 Tests that Runtime.awaitPromise works.
2 2
3 Running test: testResolvedPromise 3 Running test: testResolvedPromise
4 { 4 {
5 id : <messageId>
5 result : { 6 result : {
6 description : 239 7 result : {
7 type : number 8 description : 239
8 value : 239 9 type : number
10 value : 239
11 }
9 } 12 }
10 } 13 }
11 14
12 Running test: testRejectedPromise 15 Running test: testRejectedPromise
13 { 16 {
14 exceptionDetails : { 17 id : <messageId>
15 columnNumber : 0 18 result : {
16 exception : { 19 exceptionDetails : {
17 objectId : 0 20 columnNumber : 0
21 exception : {
22 type : object
23 value : {
24 a : 1
25 }
26 }
27 exceptionId : <exceptionId>
28 lineNumber : 0
29 stackTrace : {
30 callFrames : [
31 ]
32 }
33 text : Uncaught (in promise)
34 }
35 result : {
18 type : object 36 type : object
19 value : { 37 value : {
20 a : 1 38 a : 1
21 } 39 }
22 } 40 }
23 exceptionId : 0
24 lineNumber : 0
25 stackTrace : {
26 callFrames : [
27 ]
28 }
29 text : Uncaught (in promise)
30 }
31 result : {
32 type : object
33 value : {
34 a : 1
35 }
36 } 41 }
37 } 42 }
38 43
39 Running test: testRejectedPromiseWithStack 44 Running test: testRejectedPromiseWithStack
40 { 45 {
41 exceptionDetails : { 46 id : <messageId>
42 columnNumber : 0 47 result : {
43 exception : { 48 exceptionDetails : {
49 columnNumber : 0
50 exception : {
51 description : 239
52 type : number
53 value : 239
54 }
55 exceptionId : <exceptionId>
56 lineNumber : 0
57 stackTrace : {
58 callFrames : [
59 ]
60 parent : {
61 callFrames : [
62 [0] : {
63 columnNumber : 4
64 functionName : rejectPromise
65 lineNumber : 17
66 scriptId : <scriptId>
67 url : test.js
68 }
69 [1] : {
70 columnNumber : 0
71 functionName :
72 lineNumber : 0
73 scriptId : <scriptId>
74 url :
75 }
76 ]
77 description : Promise.reject
78 }
79 }
80 text : Uncaught (in promise)
81 }
82 result : {
44 description : 239 83 description : 239
45 objectId : 0
46 type : number 84 type : number
47 value : 239 85 value : 239
48 } 86 }
49 exceptionId : 0
50 lineNumber : 0
51 stackTrace : {
52 callFrames : [
53 ]
54 parent : {
55 callFrames : [
56 [0] : {
57 columnNumber : 4
58 functionName : rejectPromise
59 lineNumber : 17
60 scriptId : 0
61 url : test.js
62 }
63 [1] : {
64 columnNumber : 0
65 functionName : (anonymous)
66 lineNumber : 0
67 scriptId : 0
68 url : (empty)
69 }
70 ]
71 description : Promise.reject
72 }
73 }
74 text : Uncaught (in promise)
75 }
76 result : {
77 description : 239
78 type : number
79 value : 239
80 } 87 }
81 } 88 }
82 89
83 Running test: testPendingPromise 90 Running test: testPendingPromise
84 { 91 {
92 id : <messageId>
85 result : { 93 result : {
86 description : 239 94 result : {
87 type : number 95 description : 239
88 value : 239 96 type : number
97 value : 239
98 }
89 } 99 }
90 } 100 }
91 101
92 Running test: testResolvedWithoutArgsPromise 102 Running test: testResolvedWithoutArgsPromise
93 { 103 {
104 id : <messageId>
94 result : { 105 result : {
95 type : undefined 106 result : {
107 type : undefined
108 }
96 } 109 }
97 } 110 }
98 111
99 Running test: testGarbageCollectedPromise 112 Running test: testGarbageCollectedPromise
100 { 113 {
101 code : -32000 114 error : {
102 message : Promise was collected 115 code : -32000
116 message : Promise was collected
117 }
118 id : <messageId>
103 } 119 }
104
OLDNEW
« 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