Index: mojo/apps/js/test/js_to_cpp.mojom |
diff --git a/mojo/apps/js/test/js_to_cpp.mojom b/mojo/apps/js/test/js_to_cpp.mojom |
index 7dd036cc4c1655b1174e4d64e6ad0758c60b3f58..851d59127a531b6fc370bf7ece9f9ac54a3f1a17 100644 |
--- a/mojo/apps/js/test/js_to_cpp.mojom |
+++ b/mojo/apps/js/test/js_to_cpp.mojom |
@@ -28,9 +28,16 @@ struct EchoArgsList { |
EchoArgs item; |
}; |
+// Note: For messages which control test flow, pick numbers that are unlikely |
+// to be hit as a result of our deliberate corruption of response messages. |
interface CppSide { |
- StartTest(); // Sent for all tests to notify that the JS side is now ready. |
- TestFinished(); // Indicates end for echo, bit-flip, and back-pointer tests. |
+ // Sent for all tests to notify that the JS side is now ready. |
+ StartTest@88888888(); |
+ |
+ // Indicates end for echo, bit-flip, and back-pointer tests. |
+ TestFinished@99999999(); |
+ |
+ // Responses from specific tests. |
PingResponse(); |
EchoResponse(EchoArgsList list); |
BitFlipResponse(EchoArgsList arg); |