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

Unified Diff: third_party/WebKit/LayoutTests/mojo/struct.html

Issue 2796253002: Associated Message Validation (Closed)
Patch Set: Validate payloadInterfaceIds before getting it. Use [0] for dimensions for validateArrayPointer. Ca… Created 3 years, 8 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/struct.html
diff --git a/third_party/WebKit/LayoutTests/mojo/struct.html b/third_party/WebKit/LayoutTests/mojo/struct.html
index 628041231763a0c506d51d55b67edb51afe7a9e2..0e9c53baf99a58c1c38ab4fb3a634c94a512b27b 100644
--- a/third_party/WebKit/LayoutTests/mojo/struct.html
+++ b/third_party/WebKit/LayoutTests/mojo/struct.html
@@ -105,7 +105,7 @@ define([
var message = builder.finish();
var messageValidator = new validator.Validator(message);
- var err = structClass.validate(messageValidator, codec.kMessageHeaderSize);
+ var err = structClass.validate(messageValidator, codec.kMessageV0HeaderSize);
assert_equals(err, validator.validationError.NONE);
var reader = new codec.MessageReader(message);
« no previous file with comments | « mojo/public/tools/bindings/generators/mojom_js_generator.py ('k') | third_party/WebKit/LayoutTests/mojo/union.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698