2011-04-12 Ilya Tikhonovsky <loislo@chromium.org>
[WebKit-https.git] / LayoutTests / inspector / report-protocol-errors.html
index 715ffa8..590e3e6 100644 (file)
@@ -8,14 +8,14 @@ function test()
     var messages = [
         'some wrong string',
         '{}',
-        '{"method":1}',
-        '{"method":"resourceContent"}',
-        '{"id":"not a number","method":"Network.resourceContent"}',
-        '{"id":1,"method":"DOM.test"}',
-        '{"id":2,"method":"Network.getResourceContent"}',
-        '{"id":3,"method":"Network.getResourceContent","params":[]}',
-        '{"id":4,"method":"Network.getResourceContent","params":{}}',
-        '{"id":5,"method":"Network.getResourceContent","params":{"frameId":"not a number"}}',
+        '{"id":"not a number"}',
+        '{"id":1,"method":1}',
+        '{"id":2,"method":"resourceContent"}',
+        '{"id":3,"method":"DOM.test"}',
+        '{"id":4,"method":"Network.getResourceContent"}',
+        '{"id":5,"method":"Network.getResourceContent","params":[]}',
+        '{"id":6,"method":"Network.getResourceContent","params":{}}',
+        '{"id":7,"method":"Network.getResourceContent","params":{"frameId":"not a number"}}',
     ];
     var numberOfReports = 0;