Tests that InspectorBackendDispatcher is catching incorrect messages. { error : { code : -32700 message : "Parse error." data : [ "Message should be in JSON format." ] } id : null } { error : { code : -32600 message : "Invalid Request." data : [ "Invalid message format. 'id' property was not found in the request." ] } id : null } { error : { code : -32600 message : "Invalid Request." data : [ "Invalid message format. The type of 'id' property should be number." ] } id : null } { error : { code : -32600 message : "Invalid Request." data : [ "Invalid message format. The type of 'method' property should be string." ] } id : 1 } { error : { code : -32601 message : "Method not found." data : [ "Invalid method name was received. 'resourceContent' wasn't found." ] } id : 2 } { error : { code : -32601 message : "Method not found." data : [ "Invalid method name was received. 'DOM.test' wasn't found." ] } id : 3 } { error : { code : -32602 message : "Invalid params." data : [ "'params' property with type 'object' was not found." ] } id : 4 } { error : { code : -32602 message : "Invalid params." data : [ "'params' property with type 'object' was not found." ] } id : 5 } { error : { code : -32602 message : "Invalid params." data : [ "Parameter 'frameId' with type 'String' was not found." "Parameter 'url' with type 'String' was not found." ] } id : 6 } { error : { code : -32602 message : "Invalid params." data : [ "Parameter 'url' with type 'String' was not found." ] } id : 7 }