|
Add validation conformance tests for associated interfaces. Add encoding, decoding and validation for associated interfaces.
Modified Mojo js tmpls to support associated interfaces (encode, decode, default values, validation).
Added codec.AssociatedInterfacePtrInfo and codec.AssociatedInterfaceRequest.
Modify validator.js validateMessageHeader() to validate v2 messages.
Add to validator.js validateAssociatedInterface & validateAssociatedInterfaceRequest.
Modify validator.js validateArray(...) to validate array of associated InterfacePtrInfo/InterfaceRequest.
BUG= 695635
Review-Url: https://codereview.chromium.org/2796253002
Cr-Commit-Position: refs/heads/master@{#464478}
Committed: https://chromium.googlesource.com/chromium/src/+/336e07d78b075a81a7debb521f167bd4dfd93ade
Total comments: 2
Total comments: 18
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+287 lines, -39 lines) |
Patch |
|
M |
content/content_resources.grd
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/mojo_context_state.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
extensions/renderer/dispatcher.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
ios/web/ios_web_resources.grd
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
ios/web/webui/crw_web_ui_manager.mm
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
mojo/edk/js/tests/BUILD.gn
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
mojo/public/js/BUILD.gn
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
A |
mojo/public/js/associated_bindings.js
|
View
|
1
2
3
4
5
|
1 chunk |
+17 lines, -0 lines |
0 comments
|
Download
|
|
M |
mojo/public/js/codec.js
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
10 chunks |
+57 lines, -11 lines |
0 comments
|
Download
|
|
M |
mojo/public/js/constants.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
mojo/public/js/constants.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
mojo/public/js/interface_types.js
|
View
|
|
3 chunks |
+19 lines, -0 lines |
0 comments
|
Download
|
|
M |
mojo/public/js/tests/validation_unittest.js
|
View
|
|
4 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
mojo/public/js/validator.js
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
10 chunks |
+141 lines, -17 lines |
0 comments
|
Download
|
|
M |
mojo/public/tools/bindings/generators/js_templates/module.amd.tmpl
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
mojo/public/tools/bindings/generators/js_templates/validation_macros.tmpl
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
mojo/public/tools/bindings/generators/mojom_js_generator.py
|
View
|
1
2
3
4
5
6
7
8
9
|
4 chunks |
+18 lines, -4 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/mojo/struct.html
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/mojo/union.html
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/vibration/vibration-expected.txt
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/vibration/vibration-iframe-expected.txt
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 73 (58 generated)
|