OLD | NEW |
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 id : <messageId> |
6 result : { | 6 result : { |
7 result : { | 7 result : { |
8 description : 239 | 8 description : 239 |
9 type : number | 9 type : number |
10 value : 239 | 10 value : 239 |
(...skipping 21 matching lines...) Expand all Loading... |
32 parent : { | 32 parent : { |
33 callFrames : [ | 33 callFrames : [ |
34 [0] : { | 34 [0] : { |
35 columnNumber : 8 | 35 columnNumber : 8 |
36 functionName : | 36 functionName : |
37 lineNumber : 0 | 37 lineNumber : 0 |
38 scriptId : <scriptId> | 38 scriptId : <scriptId> |
39 url : | 39 url : |
40 } | 40 } |
41 ] | 41 ] |
| 42 creationFrame : { |
| 43 columnNumber : 8 |
| 44 functionName : |
| 45 lineNumber : 0 |
| 46 scriptId : <scriptId> |
| 47 url : |
| 48 } |
42 description : Promise.reject | 49 description : Promise.reject |
43 } | 50 } |
44 } | 51 } |
45 text : Uncaught (in promise) | 52 text : Uncaught (in promise) |
46 } | 53 } |
47 result : { | 54 result : { |
48 type : object | 55 type : object |
49 value : { | 56 value : { |
50 a : 1 | 57 a : 1 |
51 } | 58 } |
(...skipping 27 matching lines...) Expand all Loading... |
79 url : test.js | 86 url : test.js |
80 } | 87 } |
81 [1] : { | 88 [1] : { |
82 columnNumber : 0 | 89 columnNumber : 0 |
83 functionName : | 90 functionName : |
84 lineNumber : 0 | 91 lineNumber : 0 |
85 scriptId : <scriptId> | 92 scriptId : <scriptId> |
86 url : | 93 url : |
87 } | 94 } |
88 ] | 95 ] |
| 96 creationFrame : { |
| 97 columnNumber : 11 |
| 98 functionName : createPromise |
| 99 lineNumber : 5 |
| 100 scriptId : <scriptId> |
| 101 url : test.js |
| 102 } |
89 description : Promise.reject | 103 description : Promise.reject |
90 } | 104 } |
91 } | 105 } |
92 text : Uncaught (in promise) | 106 text : Uncaught (in promise) |
93 } | 107 } |
94 result : { | 108 result : { |
95 description : 239 | 109 description : 239 |
96 type : number | 110 type : number |
97 value : 239 | 111 value : 239 |
98 } | 112 } |
(...skipping 23 matching lines...) Expand all Loading... |
122 } | 136 } |
123 | 137 |
124 Running test: testGarbageCollectedPromise | 138 Running test: testGarbageCollectedPromise |
125 { | 139 { |
126 error : { | 140 error : { |
127 code : -32000 | 141 code : -32000 |
128 message : Promise was collected | 142 message : Promise was collected |
129 } | 143 } |
130 id : <messageId> | 144 id : <messageId> |
131 } | 145 } |
OLD | NEW |