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

Unified Diff: third_party/WebKit/LayoutTests/mojo/resources/data/validation/conformance_mthd3_array_num_bytes_huge.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_mthd3_array_num_bytes_huge.data
diff --git a/third_party/WebKit/LayoutTests/mojo/resources/data/validation/conformance_mthd3_array_num_bytes_huge.data b/third_party/WebKit/LayoutTests/mojo/resources/data/validation/conformance_mthd3_array_num_bytes_huge.data
new file mode 100644
index 0000000000000000000000000000000000000000..681463663fdd79d6badaf85aeed4a0a4e863adc7
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/mojo/resources/data/validation/conformance_mthd3_array_num_bytes_huge.data
@@ -0,0 +1,18 @@
+[dist4]message_header // num_bytes
+[u4]0 // version
+[u4]0 // interface ID
+[u4]3 // name
+[u4]0 // flags
+[u4]0 // padding
+[anchr]message_header
+
+[dist4]method3_params // num_bytes
+[u4]0 // version
+[dist8]param0_ptr // param0
+[anchr]method3_params
+
+[anchr]param0_ptr
+[u4]0xFFFFFFFF // num_bytes: Test whether a huge value will cause overflow.
+[u4]12 // num_elements
+[b]01010101
+[b]00001111

Powered by Google App Engine
This is Rietveld 408576698