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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 : "frameId: string value expected; url: string value expected" | 54 data : "frameId: string value expected; url: string value expected" |
55 message : "Some arguments of method 'Page.getResourceContent' can't be p
rocessed" | 55 message : "Invalid request" |
56 } | 56 } |
57 id : 4 | 57 id : 4 |
58 } | 58 } |
59 ------------------------------------------------------- | 59 ------------------------------------------------------- |
60 { | 60 { |
61 error : { | 61 error : { |
62 code : -32602 | 62 code : -32602 |
63 data : "frameId: string value expected; url: string value expected" | 63 data : "frameId: string value expected; url: string value expected" |
64 message : "Some arguments of method 'Page.getResourceContent' can't be p
rocessed" | 64 message : "Invalid request" |
65 } | 65 } |
66 id : 5 | 66 id : 5 |
67 } | 67 } |
68 ------------------------------------------------------- | 68 ------------------------------------------------------- |
69 { | 69 { |
70 error : { | 70 error : { |
71 code : -32602 | 71 code : -32602 |
72 data : "frameId: string value expected; url: string value expected" | 72 data : "frameId: string value expected; url: string value expected" |
73 message : "Some arguments of method 'Page.getResourceContent' can't be p
rocessed" | 73 message : "Invalid request" |
74 } | 74 } |
75 id : 6 | 75 id : 6 |
76 } | 76 } |
77 ------------------------------------------------------- | 77 ------------------------------------------------------- |
78 { | 78 { |
79 error : { | 79 error : { |
80 code : -32602 | 80 code : -32602 |
81 data : "url: string value expected" | 81 data : "url: string value expected" |
82 message : "Some arguments of method 'Page.getResourceContent' can't be p
rocessed" | 82 message : "Invalid request" |
83 } | 83 } |
84 id : 7 | 84 id : 7 |
85 } | 85 } |
86 ------------------------------------------------------- | 86 ------------------------------------------------------- |
87 { | 87 { |
88 error : { | 88 error : { |
89 code : -32601 | 89 code : -32601 |
90 message : "'Page.test' wasn't found" | 90 message : "'Page.test' wasn't found" |
91 } | 91 } |
92 id : 8 | 92 id : 8 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 ------------------------------------------------------- | 150 ------------------------------------------------------- |
151 { | 151 { |
152 error : { | 152 error : { |
153 code : -32601 | 153 code : -32601 |
154 message : "'Page.test' wasn't found" | 154 message : "'Page.test' wasn't found" |
155 } | 155 } |
156 id : 16 | 156 id : 16 |
157 } | 157 } |
158 ------------------------------------------------------- | 158 ------------------------------------------------------- |
159 | 159 |
OLD | NEW |