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

Side by Side Diff: test/inspector/runtime/await-promise-expected.txt

Issue 2369753004: [inspector] added inspector test runner [part 5] (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
(Empty)
1 Tests that Runtime.awaitPromise works.
2
3 Running test: testResolvedPromise
4 {
5 result : {
6 description : 239
7 type : number
8 value : 239
9 }
10 }
11
12 Running test: testRejectedPromise
13 {
14 exceptionDetails : {
15 columnNumber : 0
16 exception : {
17 objectId : 0
18 type : object
19 value : {
20 a : 1
21 }
22 }
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 }
37 }
38
39 Running test: testRejectedPromiseWithStack
40 {
41 exceptionDetails : {
42 columnNumber : 0
43 exception : {
44 description : 239
45 objectId : 0
46 type : number
47 value : 239
48 }
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 }
81 }
82
83 Running test: testPendingPromise
84 {
85 result : {
86 description : 239
87 type : number
88 value : 239
89 }
90 }
91
92 Running test: testResolvedWithoutArgsPromise
93 {
94 result : {
95 type : undefined
96 }
97 }
98
99 Running test: testGarbageCollectedPromise
100 {
101 code : -32000
102 message : Promise was collected
103 }
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