Index: test/inspector/runtime/evaluate-async-expected.txt |
diff --git a/test/inspector/runtime/evaluate-async-expected.txt b/test/inspector/runtime/evaluate-async-expected.txt |
index da2afa6e67b3dfc8b3f62f25f88981a70e426505..c03dd7a40995e57660832e09331daca27f74a0ae 100644 |
--- a/test/inspector/runtime/evaluate-async-expected.txt |
+++ b/test/inspector/runtime/evaluate-async-expected.txt |
@@ -2,80 +2,94 @@ Tests that Runtime.evaluate works with awaitPromise flag. |
Running test: testResolvedPromise |
{ |
+ id : <messageId> |
result : { |
- description : 239 |
- type : number |
- value : 239 |
+ result : { |
+ description : 239 |
+ type : number |
+ value : 239 |
+ } |
} |
} |
Running test: testRejectedPromise |
{ |
- exceptionDetails : { |
- columnNumber : 0 |
- exception : { |
+ id : <messageId> |
+ result : { |
+ exceptionDetails : { |
+ columnNumber : 0 |
+ exception : { |
+ description : 239 |
+ type : number |
+ value : 239 |
+ } |
+ exceptionId : <exceptionId> |
+ lineNumber : 0 |
+ stackTrace : { |
+ callFrames : [ |
+ ] |
+ } |
+ text : Uncaught (in promise) |
+ } |
+ result : { |
description : 239 |
- objectId : 0 |
type : number |
value : 239 |
} |
- exceptionId : 0 |
- lineNumber : 0 |
- scriptId : (scriptId) |
- stackTrace : { |
- callFrames : [ |
- ] |
- } |
- text : Uncaught (in promise) |
- } |
- result : { |
- description : 239 |
- type : number |
- value : 239 |
} |
} |
Running test: testPrimitiveValueInsteadOfPromise |
{ |
- code : -32000 |
- message : Result of the evaluation is not a promise |
+ error : { |
+ code : -32000 |
+ message : Result of the evaluation is not a promise |
+ } |
+ id : <messageId> |
} |
Running test: testObjectInsteadOfPromise |
{ |
- code : -32000 |
- message : Result of the evaluation is not a promise |
+ error : { |
+ code : -32000 |
+ message : Result of the evaluation is not a promise |
+ } |
+ id : <messageId> |
} |
Running test: testPendingPromise |
{ |
+ id : <messageId> |
result : { |
- type : object |
- value : { |
- a : 239 |
+ result : { |
+ type : object |
+ value : { |
+ a : 239 |
+ } |
} |
} |
} |
Running test: testExceptionInEvaluate |
{ |
- exceptionDetails : { |
- columnNumber : 0 |
- exception : { |
+ id : <messageId> |
+ result : { |
+ exceptionDetails : { |
+ columnNumber : 0 |
+ exception : { |
+ description : 239 |
+ type : number |
+ value : 239 |
+ } |
+ exceptionId : <exceptionId> |
+ lineNumber : 0 |
+ scriptId : <scriptId> |
+ text : Uncaught |
+ } |
+ result : { |
description : 239 |
- objectId : 0 |
type : number |
value : 239 |
} |
- exceptionId : 0 |
- lineNumber : 0 |
- scriptId : (scriptId) |
- text : Uncaught |
- } |
- result : { |
- description : 239 |
- type : number |
- value : 239 |
} |
} |
- |