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 11 matching lines...) Expand all Loading... |
22 type : object | 22 type : object |
23 value : { | 23 value : { |
24 a : 1 | 24 a : 1 |
25 } | 25 } |
26 } | 26 } |
27 exceptionId : <exceptionId> | 27 exceptionId : <exceptionId> |
28 lineNumber : 0 | 28 lineNumber : 0 |
29 stackTrace : { | 29 stackTrace : { |
30 callFrames : [ | 30 callFrames : [ |
31 ] | 31 ] |
| 32 parent : { |
| 33 callFrames : [ |
| 34 [0] : { |
| 35 columnNumber : 8 |
| 36 functionName : |
| 37 lineNumber : 0 |
| 38 scriptId : <scriptId> |
| 39 url : |
| 40 } |
| 41 ] |
| 42 description : Promise.reject |
| 43 } |
32 } | 44 } |
33 text : Uncaught (in promise) | 45 text : Uncaught (in promise) |
34 } | 46 } |
35 result : { | 47 result : { |
36 type : object | 48 type : object |
37 value : { | 49 value : { |
38 a : 1 | 50 a : 1 |
39 } | 51 } |
40 } | 52 } |
41 } | 53 } |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 } | 122 } |
111 | 123 |
112 Running test: testGarbageCollectedPromise | 124 Running test: testGarbageCollectedPromise |
113 { | 125 { |
114 error : { | 126 error : { |
115 code : -32000 | 127 code : -32000 |
116 message : Promise was collected | 128 message : Promise was collected |
117 } | 129 } |
118 id : <messageId> | 130 id : <messageId> |
119 } | 131 } |
OLD | NEW |