Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(463)

Unified Diff: mojo/public/interfaces/bindings/tests/data/validation/resp_conformance_msghdr_invalid_response_flags1.data

Issue 921223002: Cpp bindings: Return false from Validator::Accept() on unrecognized message or invalid flags (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebased Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: mojo/public/interfaces/bindings/tests/data/validation/resp_conformance_msghdr_invalid_response_flags1.data
diff --git a/mojo/public/interfaces/bindings/tests/data/validation/conformance_msghdr_invalid_flags.data b/mojo/public/interfaces/bindings/tests/data/validation/resp_conformance_msghdr_invalid_response_flags1.data
similarity index 54%
copy from mojo/public/interfaces/bindings/tests/data/validation/conformance_msghdr_invalid_flags.data
copy to mojo/public/interfaces/bindings/tests/data/validation/resp_conformance_msghdr_invalid_response_flags1.data
index 6c9654bb2e079102b81dc8d5da973835d2033e1d..d9ca38e2f3a8c6d90e6b321df150367f5b463347 100644
--- a/mojo/public/interfaces/bindings/tests/data/validation/conformance_msghdr_invalid_flags.data
+++ b/mojo/public/interfaces/bindings/tests/data/validation/resp_conformance_msghdr_invalid_response_flags1.data
@@ -1,6 +1,6 @@
[dist4]message_header // num_bytes
[u4]3 // version
-[u4]0x80000000 // name
-[u4]3 // flags: This combination is illegal.
+[u4]12 // name
+[u4]0 // flags: kMessageIsResponse is not set in a response.
[u8]1 // request_id
[anchr]message_header

Powered by Google App Engine
This is Rietveld 408576698