Validate incoming JS Message Headers: test message parser
commit32c5a54e596d25d904a545df5787abeb5736ca5e
authorhansmuller@chromium.org <hansmuller@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 25 Jul 2014 18:48:57 +0000 (25 18:48 +0000)
committerhansmuller@chromium.org <hansmuller@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 25 Jul 2014 18:48:57 +0000 (25 18:48 +0000)
tree9cbb078039f24f063da477cc75ce7df3f1e931b0
parent5264305d2205771fc7622ce831ee70f18611b770
Validate incoming JS Message Headers: test message parser

This is the first part of the "Validate incoming JS Message Headers" CL - https://codereview.chromium.org/406993002/

It's just the test message file parser and its sanity check.

TBR=jochen@chromium.org

BUG=395801

Review URL: https://codereview.chromium.org/411553003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285632 0039d316-1c4b-4281-b951-d872f2087c98
18 files changed:
content/browser/webui/web_ui_data_source_impl.cc
content/browser/webui/web_ui_mojo_browsertest.cc
content/content_resources.grd
mojo/apps/js/test/js_to_cpp_unittest.js
mojo/apps/js/test/run_apps_js_tests.cc
mojo/mojo.gyp
mojo/mojo_public_tests.gypi
mojo/public/js/bindings/buffer.js [new file with mode: 0644]
mojo/public/js/bindings/codec.js
mojo/public/js/bindings/codec_unittests.js [moved from mojo/bindings/js/codec_unittests.js with 99% similarity]
mojo/public/js/bindings/connector.js
mojo/public/js/bindings/constants.cc
mojo/public/js/bindings/constants.h
mojo/public/js/bindings/core_unittests.js [moved from mojo/bindings/js/core_unittests.js with 98% similarity]
mojo/public/js/bindings/tests/DEPS [new file with mode: 0644]
mojo/public/js/bindings/tests/run_js_tests.cc [moved from mojo/bindings/js/run_js_tests.cc with 74% similarity]
mojo/public/js/bindings/tests/validation_test_input_parser.js [new file with mode: 0644]
mojo/public/js/bindings/validation_unittests.js [new file with mode: 0644]