| 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 } | 10 } |
| 11 | 11 |
| 12 Running test: testSyntaxErrorInFunction | 12 Running test: testSyntaxErrorInFunction |
| 13 { | 13 { |
| 14 exceptionDetails : { | 14 exceptionDetails : { |
| 15 columnNumber : 2 | 15 columnNumber : 2 |
| 16 exception : { |
| 17 className : SyntaxError |
| 18 description : SyntaxError: Unexpected token } |
| 19 objectId : 0 |
| 20 subtype : error |
| 21 type : object |
| 22 } |
| 23 exceptionId : 0 |
| 16 lineNumber : 1 | 24 lineNumber : 1 |
| 17 scriptId : 0 | 25 scriptId : 0 |
| 18 text : Uncaught SyntaxError: Unexpected token } | 26 text : Uncaught |
| 19 } | 27 } |
| 20 result : { | 28 result : { |
| 21 className : SyntaxError | 29 className : SyntaxError |
| 22 description : SyntaxError: Unexpected token } | 30 description : SyntaxError: Unexpected token } |
| 23 objectId : [ObjectId] | 31 objectId : [ObjectId] |
| 24 subtype : error | 32 subtype : error |
| 25 type : object | 33 type : object |
| 26 } | 34 } |
| 27 } | 35 } |
| 28 | 36 |
| 29 Running test: testExceptionInFunctionExpression | 37 Running test: testExceptionInFunctionExpression |
| 30 { | 38 { |
| 31 exceptionDetails : { | 39 exceptionDetails : { |
| 32 columnNumber : 15 | 40 columnNumber : 15 |
| 41 exception : { |
| 42 className : Error |
| 43 description : Error at <anonymous>:1:22 at <anonymous>:1:36 |
| 44 objectId : 0 |
| 45 subtype : error |
| 46 type : object |
| 47 } |
| 48 exceptionId : 0 |
| 33 lineNumber : 0 | 49 lineNumber : 0 |
| 34 scriptId : 0 | 50 scriptId : 0 |
| 35 text : Uncaught Error | 51 text : Uncaught |
| 36 } | 52 } |
| 37 result : { | 53 result : { |
| 38 className : Error | 54 className : Error |
| 39 description : Error at <anonymous>:1:22 at <anonymous>:1:36 | 55 description : Error at <anonymous>:1:22 at <anonymous>:1:36 |
| 40 objectId : [ObjectId] | 56 objectId : [ObjectId] |
| 41 subtype : error | 57 subtype : error |
| 42 type : object | 58 type : object |
| 43 } | 59 } |
| 44 } | 60 } |
| 45 | 61 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 type : object | 94 type : object |
| 79 } | 95 } |
| 80 type : object | 96 type : object |
| 81 } | 97 } |
| 82 } | 98 } |
| 83 | 99 |
| 84 Running test: testFunctionReturnRejectedPromise | 100 Running test: testFunctionReturnRejectedPromise |
| 85 { | 101 { |
| 86 exceptionDetails : { | 102 exceptionDetails : { |
| 87 columnNumber : 0 | 103 columnNumber : 0 |
| 104 exception : { |
| 105 objectId : 0 |
| 106 type : object |
| 107 value : { |
| 108 a : 3 |
| 109 } |
| 110 } |
| 111 exceptionId : 0 |
| 88 lineNumber : 0 | 112 lineNumber : 0 |
| 89 scriptId : | |
| 90 stackTrace : { | 113 stackTrace : { |
| 91 callFrames : [ | 114 callFrames : [ |
| 92 ] | 115 ] |
| 93 } | 116 } |
| 94 text : Promise was rejected | 117 text : Uncaught (in promise) |
| 95 } | 118 } |
| 96 result : { | 119 result : { |
| 97 type : object | 120 type : object |
| 98 value : { | 121 value : { |
| 99 a : 3 | 122 a : 3 |
| 100 } | 123 } |
| 101 } | 124 } |
| 102 } | 125 } |
| 103 | 126 |
| OLD | NEW |