| 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 result : { | 5 result : { |
| 6 description : 239 | 6 description : 239 |
| 7 type : number | 7 type : number |
| 8 value : 239 | 8 value : 239 |
| 9 } | 9 } |
| 10 } | 10 } |
| 11 | 11 |
| 12 Running test: testRejectedPromise | 12 Running test: testRejectedPromise |
| 13 { | 13 { |
| 14 exceptionDetails : { | 14 exceptionDetails : { |
| 15 columnNumber : 0 | 15 columnNumber : 0 |
| 16 exception : { | 16 exception : { |
| 17 objectId : 0 | 17 objectId : 0 |
| 18 type : object | 18 type : object |
| 19 value : { | 19 value : { |
| 20 a : 1 | 20 a : 1 |
| 21 } | 21 } |
| 22 } | 22 } |
| 23 exceptionId : 0 | 23 exceptionId : 0 |
| 24 lineNumber : 0 | 24 lineNumber : 0 |
| 25 stackTrace : { | 25 stackTrace : { |
| 26 callFrames : [ | 26 callFrames : [ |
| 27 ] | 27 ] |
| 28 parent : { |
| 29 callFrames : [ |
| 30 [0] : { |
| 31 columnNumber : 8 |
| 32 functionName : |
| 33 lineNumber : 0 |
| 34 scriptId : 0 |
| 35 url : |
| 36 } |
| 37 ] |
| 38 description : Promise.reject |
| 39 } |
| 28 } | 40 } |
| 29 text : Uncaught (in promise) | 41 text : Uncaught (in promise) |
| 30 } | 42 } |
| 31 result : { | 43 result : { |
| 32 type : object | 44 type : object |
| 33 value : { | 45 value : { |
| 34 a : 1 | 46 a : 1 |
| 35 } | 47 } |
| 36 } | 48 } |
| 37 } | 49 } |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 type : undefined | 107 type : undefined |
| 96 } | 108 } |
| 97 } | 109 } |
| 98 | 110 |
| 99 Running test: testGarbageCollectedPromise | 111 Running test: testGarbageCollectedPromise |
| 100 { | 112 { |
| 101 code : -32000 | 113 code : -32000 |
| 102 message : Promise was collected | 114 message : Promise was collected |
| 103 } | 115 } |
| 104 | 116 |
| OLD | NEW |