| OLD | NEW |
| 1 Tests that InspectorBackendDispatcher is catching incorrect messages. | 1 Tests that InspectorBackendDispatcher is catching incorrect messages. |
| 2 | 2 |
| 3 { | 3 { |
| 4 error : { | 4 error : { |
| 5 code : -32700 | 5 code : -32700 |
| 6 message : "Message must be in JSON format" | 6 message : "Message must be in JSON format" |
| 7 } | 7 } |
| 8 id : null | 8 id : null |
| 9 } | 9 } |
| 10 ------------------------------------------------------- | 10 ------------------------------------------------------- |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 error : { | 44 error : { |
| 45 code : -32601 | 45 code : -32601 |
| 46 message : "'DOM.test' wasn't found" | 46 message : "'DOM.test' wasn't found" |
| 47 } | 47 } |
| 48 id : 3 | 48 id : 3 |
| 49 } | 49 } |
| 50 ------------------------------------------------------- | 50 ------------------------------------------------------- |
| 51 { | 51 { |
| 52 error : { | 52 error : { |
| 53 code : -32602 | 53 code : -32602 |
| 54 data : [ | 54 data : "frameId: string value expected; url: string value expected" |
| 55 "'params' object must contain required parameter 'frameId' with type
'String'." | |
| 56 "'params' object must contain required parameter 'url' with type 'St
ring'." | |
| 57 ] | |
| 58 message : "Some arguments of method 'Page.getResourceContent' can't be p
rocessed" | 55 message : "Some arguments of method 'Page.getResourceContent' can't be p
rocessed" |
| 59 } | 56 } |
| 60 id : 4 | 57 id : 4 |
| 61 } | 58 } |
| 62 ------------------------------------------------------- | 59 ------------------------------------------------------- |
| 63 { | 60 { |
| 64 error : { | 61 error : { |
| 65 code : -32602 | 62 code : -32602 |
| 66 data : [ | 63 data : "frameId: string value expected; url: string value expected" |
| 67 "'params' object must contain required parameter 'frameId' with type
'String'." | |
| 68 "'params' object must contain required parameter 'url' with type 'St
ring'." | |
| 69 ] | |
| 70 message : "Some arguments of method 'Page.getResourceContent' can't be p
rocessed" | 64 message : "Some arguments of method 'Page.getResourceContent' can't be p
rocessed" |
| 71 } | 65 } |
| 72 id : 5 | 66 id : 5 |
| 73 } | 67 } |
| 74 ------------------------------------------------------- | 68 ------------------------------------------------------- |
| 75 { | 69 { |
| 76 error : { | 70 error : { |
| 77 code : -32602 | 71 code : -32602 |
| 78 data : [ | 72 data : "frameId: string value expected; url: string value expected" |
| 79 "Parameter 'frameId' with type 'String' was not found." | |
| 80 "Parameter 'url' with type 'String' was not found." | |
| 81 ] | |
| 82 message : "Some arguments of method 'Page.getResourceContent' can't be p
rocessed" | 73 message : "Some arguments of method 'Page.getResourceContent' can't be p
rocessed" |
| 83 } | 74 } |
| 84 id : 6 | 75 id : 6 |
| 85 } | 76 } |
| 86 ------------------------------------------------------- | 77 ------------------------------------------------------- |
| 87 { | 78 { |
| 88 error : { | 79 error : { |
| 89 code : -32602 | 80 code : -32602 |
| 90 data : [ | 81 data : "url: string value expected" |
| 91 "Parameter 'url' with type 'String' was not found." | |
| 92 ] | |
| 93 message : "Some arguments of method 'Page.getResourceContent' can't be p
rocessed" | 82 message : "Some arguments of method 'Page.getResourceContent' can't be p
rocessed" |
| 94 } | 83 } |
| 95 id : 7 | 84 id : 7 |
| 96 } | 85 } |
| 97 ------------------------------------------------------- | 86 ------------------------------------------------------- |
| 98 { | 87 { |
| 99 error : { | 88 error : { |
| 100 code : -32601 | 89 code : -32601 |
| 101 message : "'Page.test' wasn't found" | 90 message : "'Page.test' wasn't found" |
| 102 } | 91 } |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 ------------------------------------------------------- | 150 ------------------------------------------------------- |
| 162 { | 151 { |
| 163 error : { | 152 error : { |
| 164 code : -32601 | 153 code : -32601 |
| 165 message : "'Page.test' wasn't found" | 154 message : "'Page.test' wasn't found" |
| 166 } | 155 } |
| 167 id : 16 | 156 id : 16 |
| 168 } | 157 } |
| 169 ------------------------------------------------------- | 158 ------------------------------------------------------- |
| 170 | 159 |
| OLD | NEW |