| OLD | NEW |
| 1 CONSOLE ERROR: line 1: Uncaught (in promise) #<Object> | 1 CONSOLE ERROR: line 1: Uncaught (in promise) #<Object> |
| 2 CONSOLE ERROR: Uncaught (in promise) #<Object> | 2 CONSOLE ERROR: Uncaught (in promise) #<Object> |
| 3 CONSOLE ERROR: Uncaught (in promise) 239 | 3 CONSOLE ERROR: Uncaught (in promise) 239 |
| 4 Tests that Runtime.awaitPromise works. | 4 Tests that Runtime.awaitPromise works. |
| 5 | 5 |
| 6 Running test: testResolvedPromise | 6 Running test: testResolvedPromise |
| 7 { | 7 { |
| 8 result : { | 8 result : { |
| 9 description : 239 | 9 description : 239 |
| 10 type : number | 10 type : number |
| 11 value : 239 | 11 value : 239 |
| 12 } | 12 } |
| 13 } | 13 } |
| 14 | 14 |
| 15 Running test: testRejectedPromise | 15 Running test: testRejectedPromise |
| 16 { | 16 { |
| 17 exceptionDetails : { | 17 exceptionDetails : { |
| 18 columnNumber : 0 | 18 columnNumber : 0 |
| 19 exception : { |
| 20 objectId : 0 |
| 21 type : object |
| 22 value : { |
| 23 a : 1 |
| 24 } |
| 25 } |
| 26 exceptionId : 0 |
| 19 lineNumber : 0 | 27 lineNumber : 0 |
| 20 scriptId : | |
| 21 stackTrace : { | 28 stackTrace : { |
| 22 callFrames : [ | 29 callFrames : [ |
| 23 ] | 30 ] |
| 24 } | 31 } |
| 25 text : Promise was rejected | 32 text : Uncaught (in promise) |
| 26 } | 33 } |
| 27 result : { | 34 result : { |
| 28 type : object | 35 type : object |
| 29 value : { | 36 value : { |
| 30 a : 1 | 37 a : 1 |
| 31 } | 38 } |
| 32 } | 39 } |
| 33 } | 40 } |
| 34 | 41 |
| 35 Running test: testRejectedPromiseWithStack | 42 Running test: testRejectedPromiseWithStack |
| 36 { | 43 { |
| 37 exceptionDetails : { | 44 exceptionDetails : { |
| 38 columnNumber : 0 | 45 columnNumber : 0 |
| 46 exception : { |
| 47 description : 239 |
| 48 objectId : 0 |
| 49 type : number |
| 50 value : 239 |
| 51 } |
| 52 exceptionId : 0 |
| 39 lineNumber : 0 | 53 lineNumber : 0 |
| 40 scriptId : | |
| 41 stackTrace : { | 54 stackTrace : { |
| 42 callFrames : [ | 55 callFrames : [ |
| 43 ] | 56 ] |
| 44 parent : { | 57 parent : { |
| 45 callFrames : [ | 58 callFrames : [ |
| 46 [0] : { | 59 [0] : { |
| 47 columnNumber : 4 | 60 columnNumber : 4 |
| 48 functionName : rejectPromise | 61 functionName : rejectPromise |
| 49 lineNumber : 21 | 62 lineNumber : 21 |
| 50 scriptId : 0 | 63 scriptId : 0 |
| 51 url : | 64 url : |
| 52 } | 65 } |
| 53 [1] : { | 66 [1] : { |
| 54 columnNumber : 0 | 67 columnNumber : 0 |
| 55 functionName : | 68 functionName : |
| 56 lineNumber : 0 | 69 lineNumber : 0 |
| 57 scriptId : 0 | 70 scriptId : 0 |
| 58 url : | 71 url : |
| 59 } | 72 } |
| 60 ] | 73 ] |
| 61 description : Promise.reject | 74 description : Promise.reject |
| 62 } | 75 } |
| 63 } | 76 } |
| 64 text : Promise was rejected | 77 text : Uncaught (in promise) |
| 65 } | 78 } |
| 66 result : { | 79 result : { |
| 67 description : 239 | 80 description : 239 |
| 68 type : number | 81 type : number |
| 69 value : 239 | 82 value : 239 |
| 70 } | 83 } |
| 71 } | 84 } |
| 72 | 85 |
| 73 Running test: testPendingPromise | 86 Running test: testPendingPromise |
| 74 { | 87 { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 85 type : undefined | 98 type : undefined |
| 86 } | 99 } |
| 87 } | 100 } |
| 88 | 101 |
| 89 Running test: testGarbageCollectedPromise | 102 Running test: testGarbageCollectedPromise |
| 90 { | 103 { |
| 91 code : -32000 | 104 code : -32000 |
| 92 message : Promise was collected | 105 message : Promise was collected |
| 93 } | 106 } |
| 94 | 107 |
| OLD | NEW |