Tests that exercise various result types from Debugger.evaluateOnCallFrame Running test: testCreateFunction { id : result : { result : { type : string value : SUCCESS } } } Running test: testNumericValue { id : result : { result : { description : -578.28 type : number value : -578.28 } } } Running test: testUnserializableValues { id : result : { result : { description : NaN type : number unserializableValue : NaN } } } { id : result : { result : { description : Infinity type : number unserializableValue : Infinity } } } { id : result : { result : { description : -Infinity type : number unserializableValue : -Infinity } } } { id : result : { result : { description : -0 type : number unserializableValue : -0 } } } Running test: testBooleanValue { id : result : { result : { type : boolean value : true } } } Running test: testObject { id : result : { result : { className : Object description : Object objectId : type : object } } } Running test: testConsoleLog { method : Runtime.consoleAPICalled params : { args : [ [0] : { description : 42 type : number value : 42 } ] executionContextId : stackTrace : { callFrames : [ [0] : { columnNumber : 8 functionName : eval lineNumber : 0 scriptId : url : } [1] : { columnNumber : 0 functionName : lineNumber : 0 scriptId : url : } ] } timestamp : type : log } } Running test: testSymbol { id : result : { result : { description : Symbol(foo) objectId : type : symbol } } } Running test: testSymbolReturnByValueError { error : { code : -32000 message : Object couldn't be returned by value } id : } Running test: testPromiseResolveReturnByVal { id : result : { result : { type : object value : { } } } } Running test: testPromiseResolve { id : result : { result : { className : Promise description : Promise objectId : subtype : promise type : object } } } Running test: testReleaseObject { id : result : { result : { className : Object description : Object objectId : type : object } } } { id : result : { result : { className : Object description : Object objectId : type : object } } } { error : { code : -32000 message : Could not find object with given id } id : } { id : result : { result : { className : Object description : Object objectId : type : object } } } { error : { code : -32000 message : Could not find object with given id } id : } { error : { code : -32000 message : Could not find object with given id } id : } Running test: testReleaseObjectInvalid ReleaseObject with invalid params. { error : { code : -32602 data : Failed to deserialize params.objectId - BINDINGS: mandatory field missing at message : Invalid parameters } id : } Running test: testObjectGroups { id : result : { result : { className : Object description : Object objectId : type : object } } } { id : result : { result : { className : Object description : Object objectId : type : object } } } { error : { code : -32000 message : Could not find object with given id } id : } { id : result : { result : { className : Object description : Object objectId : type : object } } } { error : { code : -32000 message : Could not find object with given id } id : } { error : { code : -32000 message : Could not find object with given id } id : } Running test: testReleaseObjectGroupInvalid ReleaseObjectGroup with invalid params { error : { code : -32602 data : Failed to deserialize params.objectGroup - BINDINGS: mandatory field missing at message : Invalid parameters } id : } Running test: testEvaluateSyntaxError { className : SyntaxError description : SyntaxError: Unexpected token ']' at :1:1 objectId : subtype : error type : object } Running test: testEvaluateReferenceError { className : ReferenceError description : ReferenceError: totalRandomNotRealVariable789 is not defined at eval (eval at (:1:1), :1:1) at :1:1 objectId : subtype : error type : object } Running test: testCallFrameIdTypeError { error : { code : -32602 data : Failed to deserialize params.callFrameId - BINDINGS: string value expected at message : Invalid parameters } id : } Running test: testCallFrameIdInvalidInput Testing evaluateOnCallFrame with non-existent callFrameId { error : { code : -32000 message : Invalid call frame id } id : } Running test: testNullExpression { error : { code : -32602 data : Failed to deserialize params.expression - BINDINGS: string value expected at message : Invalid parameters } id : }