| Index: test/inspector/runtime/await-promise-expected.txt
|
| diff --git a/test/inspector/runtime/await-promise-expected.txt b/test/inspector/runtime/await-promise-expected.txt
|
| index a1101c5c0ec3a15594c0aa4ec1bbefcd2faed9b1..e23ead86cd0a2be0f4820a609bfcc268de3aae6b 100644
|
| --- a/test/inspector/runtime/await-promise-expected.txt
|
| +++ b/test/inspector/runtime/await-promise-expected.txt
|
| @@ -2,103 +2,118 @@ Tests that Runtime.awaitPromise works.
|
|
|
| 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 : {
|
| - objectId : 0
|
| + id : <messageId>
|
| + result : {
|
| + exceptionDetails : {
|
| + columnNumber : 0
|
| + exception : {
|
| + type : object
|
| + value : {
|
| + a : 1
|
| + }
|
| + }
|
| + exceptionId : <exceptionId>
|
| + lineNumber : 0
|
| + stackTrace : {
|
| + callFrames : [
|
| + ]
|
| + }
|
| + text : Uncaught (in promise)
|
| + }
|
| + result : {
|
| type : object
|
| value : {
|
| a : 1
|
| }
|
| }
|
| - exceptionId : 0
|
| - lineNumber : 0
|
| - stackTrace : {
|
| - callFrames : [
|
| - ]
|
| - }
|
| - text : Uncaught (in promise)
|
| - }
|
| - result : {
|
| - type : object
|
| - value : {
|
| - a : 1
|
| - }
|
| }
|
| }
|
|
|
| Running test: testRejectedPromiseWithStack
|
| {
|
| - exceptionDetails : {
|
| - columnNumber : 0
|
| - exception : {
|
| - description : 239
|
| - objectId : 0
|
| - type : number
|
| - value : 239
|
| - }
|
| - exceptionId : 0
|
| - lineNumber : 0
|
| - stackTrace : {
|
| - callFrames : [
|
| - ]
|
| - parent : {
|
| + id : <messageId>
|
| + result : {
|
| + exceptionDetails : {
|
| + columnNumber : 0
|
| + exception : {
|
| + description : 239
|
| + type : number
|
| + value : 239
|
| + }
|
| + exceptionId : <exceptionId>
|
| + lineNumber : 0
|
| + stackTrace : {
|
| callFrames : [
|
| - [0] : {
|
| - columnNumber : 4
|
| - functionName : rejectPromise
|
| - lineNumber : 17
|
| - scriptId : 0
|
| - url : test.js
|
| - }
|
| - [1] : {
|
| - columnNumber : 0
|
| - functionName : (anonymous)
|
| - lineNumber : 0
|
| - scriptId : 0
|
| - url : (empty)
|
| - }
|
| ]
|
| - description : Promise.reject
|
| + parent : {
|
| + callFrames : [
|
| + [0] : {
|
| + columnNumber : 4
|
| + functionName : rejectPromise
|
| + lineNumber : 17
|
| + scriptId : <scriptId>
|
| + url : test.js
|
| + }
|
| + [1] : {
|
| + columnNumber : 0
|
| + functionName :
|
| + lineNumber : 0
|
| + scriptId : <scriptId>
|
| + url :
|
| + }
|
| + ]
|
| + description : Promise.reject
|
| + }
|
| }
|
| + text : Uncaught (in promise)
|
| + }
|
| + result : {
|
| + description : 239
|
| + type : number
|
| + value : 239
|
| }
|
| - text : Uncaught (in promise)
|
| - }
|
| - result : {
|
| - description : 239
|
| - type : number
|
| - value : 239
|
| }
|
| }
|
|
|
| Running test: testPendingPromise
|
| {
|
| + id : <messageId>
|
| result : {
|
| - description : 239
|
| - type : number
|
| - value : 239
|
| + result : {
|
| + description : 239
|
| + type : number
|
| + value : 239
|
| + }
|
| }
|
| }
|
|
|
| Running test: testResolvedWithoutArgsPromise
|
| {
|
| + id : <messageId>
|
| result : {
|
| - type : undefined
|
| + result : {
|
| + type : undefined
|
| + }
|
| }
|
| }
|
|
|
| Running test: testGarbageCollectedPromise
|
| {
|
| - code : -32000
|
| - message : Promise was collected
|
| + error : {
|
| + code : -32000
|
| + message : Promise was collected
|
| + }
|
| + id : <messageId>
|
| }
|
| -
|
|
|