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

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

Issue 466613002: Add validation logic for non-nullable types. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 4 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/conformance_mthd5_unexpected_invalid_handle.data
diff --git a/mojo/public/interfaces/bindings/tests/data/validation/conformance_mthd5_good_invalid_handle.data b/mojo/public/interfaces/bindings/tests/data/validation/conformance_mthd5_unexpected_invalid_handle.data
similarity index 70%
rename from mojo/public/interfaces/bindings/tests/data/validation/conformance_mthd5_good_invalid_handle.data
rename to mojo/public/interfaces/bindings/tests/data/validation/conformance_mthd5_unexpected_invalid_handle.data
index a63e2d0d638ff573a013878223dd2b0870f32e89..ef49285163e12fb67053db683fb3d06b288b39f3 100644
--- a/mojo/public/interfaces/bindings/tests/data/validation/conformance_mthd5_good_invalid_handle.data
+++ b/mojo/public/interfaces/bindings/tests/data/validation/conformance_mthd5_unexpected_invalid_handle.data
@@ -1,4 +1,4 @@
-[handles]0
+[handles]5
[dist4]message_header // num_bytes
[u4]2 // num_fields
@@ -9,7 +9,7 @@
[dist4]method5_params // num_bytes
[u4]2 // num_fields
[dist8]param0_ptr // param0
-[s4]-1 // param1: An invalid handle.
+[u4]4 // param1
[u4]0 // padding
[anchr]method5_params
@@ -17,7 +17,7 @@
[dist4]struct_e // num_bytes
[u4]2 // num_fields
[dist8]struct_d_ptr // struct_d
-[s4]-1 // data_pipe_consumer: An invalid handle.
+[s4]-1 // data_pipe_consumer: An unexpected invalid handle.
[u4]0 // padding
[anchr]struct_e
@@ -29,8 +29,6 @@
[anchr]message_pipes_ptr
[dist4]message_pipe_array // num_bytes
-[u4]3 // num_elements
-[s4]-1 // An invalid handle.
-[s4]-1 // An invalid handle.
-[s4]-1 // An invalid handle.
+[u4]1 // num_elements
+[u4]2
[anchr]message_pipe_array

Powered by Google App Engine
This is Rietveld 408576698