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

Unified Diff: third_party/WebKit/LayoutTests/mojo/resources/data/validation/conformance_mthd8_array_num_bytes_overflow.data

Issue 2745293005: Moving mojo/validation test into LayoutTests (Closed)
Patch Set: put back old data files Created 3 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: third_party/WebKit/LayoutTests/mojo/resources/data/validation/conformance_mthd8_array_num_bytes_overflow.data
diff --git a/third_party/WebKit/LayoutTests/mojo/resources/data/validation/conformance_mthd8_array_num_bytes_overflow.data b/third_party/WebKit/LayoutTests/mojo/resources/data/validation/conformance_mthd8_array_num_bytes_overflow.data
new file mode 100644
index 0000000000000000000000000000000000000000..b19e141b0be47437fa30b3476c1844662a9f0261
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/mojo/resources/data/validation/conformance_mthd8_array_num_bytes_overflow.data
@@ -0,0 +1,21 @@
+[dist4]message_header // num_bytes
+[u4]0 // version
+[u4]0 // interface ID
+[u4]8 // name
+[u4]0 // flags
+[u4]0 // padding
+[anchr]message_header
+
+[dist4]method8_params // num_bytes
+[u4]0 // version
+[dist8]param0_ptr // param0
+[anchr]method8_params
+
+[anchr]param0_ptr
+[dist4]array_param // num_bytes
+[u4]0x20000001 // num_elements: The corresponding array size should be
+ // 0x20000001 * 8 + 8 = 0x100000010 which is
+ // 2^32 + 16 (base-10), while |num_bytes| is a 32-bit
+ // unsigned integer and its value is 16.
+[u8]0
+[anchr]array_param

Powered by Google App Engine
This is Rietveld 408576698