blob: a361760b64b6d53fa4397f3ff0a948bf34023896 [file] [log] [blame]
Tests that InspectorBackendDispatcher is catching incorrect messages.
{
error : {
code : -32700
message : "Message must be a valid JSON"
}
}
-------------------------------------------------------
{
error : {
code : -32600
message : "Message must have integer 'id' property"
}
}
-------------------------------------------------------
{
error : {
code : -32600
message : "Message must have integer 'id' property"
}
}
-------------------------------------------------------
{
error : {
code : -32600
message : "Message must have string 'method' property"
}
id : 1
}
-------------------------------------------------------
{
error : {
code : -32601
message : "'resourceContent' wasn't found"
}
id : 2
}
-------------------------------------------------------
{
error : {
code : -32601
message : "'DOM.test' wasn't found"
}
id : 3
}
-------------------------------------------------------
{
error : {
code : -32602
data : "nodeId: integer value expected"
message : "Invalid parameters"
}
id : 4
}
-------------------------------------------------------
{
error : {
code : -32602
data : "nodeId: integer value expected"
message : "Invalid parameters"
}
id : 5
}
-------------------------------------------------------
{
error : {
code : -32602
data : "nodeId: integer value expected"
message : "Invalid parameters"
}
id : 6
}
-------------------------------------------------------
{
error : {
code : -32602
data : "nodeId: integer value expected"
message : "Invalid parameters"
}
id : 7
}
-------------------------------------------------------
{
error : {
code : -32601
message : "'DOM.test' wasn't found"
}
id : 8
}
-------------------------------------------------------
{
error : {
code : -32601
message : "'DOM.test' wasn't found"
}
id : 9
}
-------------------------------------------------------
{
error : {
code : -32601
message : "'DOM.test' wasn't found"
}
id : 10
}
-------------------------------------------------------
{
error : {
code : -32601
message : "'DOM.test' wasn't found"
}
id : 11
}
-------------------------------------------------------
{
error : {
code : -32601
message : "'DOM.test' wasn't found"
}
id : 12
}
-------------------------------------------------------
{
error : {
code : -32601
message : "'DOM.test' wasn't found"
}
id : 13
}
-------------------------------------------------------
{
error : {
code : -32601
message : "'DOM.test' wasn't found"
}
id : 14
}
-------------------------------------------------------
{
error : {
code : -32601
message : "'DOM.test' wasn't found"
}
id : 15
}
-------------------------------------------------------
{
error : {
code : -32601
message : "'DOM.test' wasn't found"
}
id : 16
}
-------------------------------------------------------