| OLD | NEW |
| 1 CONSOLE ERROR: Uncaught (in promise) #<Object> | 1 CONSOLE ERROR: Uncaught (in promise) #<Object> |
| 2 Tests that Runtime.callFunctionOn works with awaitPromise flag. | 2 Tests that Runtime.callFunctionOn works with awaitPromise flag. |
| 3 | 3 |
| 4 Running test: testArguments | 4 Running test: testArguments |
| 5 { | 5 { |
| 6 result : { | 6 result : { |
| 7 type : string | 7 type : string |
| 8 value : undefined|NaN|[object Object]|[object Window] | 8 value : undefined|NaN|[object Object]|[object Window] |
| 9 } | 9 } |
| 10 wasThrown : false | 10 wasThrown : false |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 objectId : [ObjectId] | 42 objectId : [ObjectId] |
| 43 subtype : error | 43 subtype : error |
| 44 type : object | 44 type : object |
| 45 } | 45 } |
| 46 wasThrown : true | 46 wasThrown : true |
| 47 } | 47 } |
| 48 | 48 |
| 49 Running test: testFunctionReturnNotPromise | 49 Running test: testFunctionReturnNotPromise |
| 50 { | 50 { |
| 51 code : -32000 | 51 code : -32000 |
| 52 message : Result of the function call is not a promise. | 52 message : Result of the function call is not a promise |
| 53 } | 53 } |
| 54 | 54 |
| 55 Running test: testFunctionReturnResolvedPromiseReturnByValue | 55 Running test: testFunctionReturnResolvedPromiseReturnByValue |
| 56 { | 56 { |
| 57 result : { | 57 result : { |
| 58 type : object | 58 type : object |
| 59 value : { | 59 value : { |
| 60 a : 3 | 60 a : 3 |
| 61 } | 61 } |
| 62 } | 62 } |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 } | 98 } |
| 99 result : { | 99 result : { |
| 100 type : object | 100 type : object |
| 101 value : { | 101 value : { |
| 102 a : 3 | 102 a : 3 |
| 103 } | 103 } |
| 104 } | 104 } |
| 105 wasThrown : true | 105 wasThrown : true |
| 106 } | 106 } |
| 107 | 107 |
| OLD | NEW |