commit | 057f7f704bcabd73956a9c4e9123a38504075b61 | [log] [tgz] |
---|---|---|
author | Devlin Cronin <rdevlin.cronin@chromium.org> | Tue Feb 13 16:25:18 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Feb 13 16:25:18 2018 |
tree | 03a87a6ddcbb4dfa14bda3fc1e8c5707c0995139 | |
parent | fff0ed52dfa1c31a5c1501d6fc45d2fd44560579 [diff] |
[Extensions Bindings] Add a native ValidateType method Add a utility method exposed to JS to allow bindings to validate a type against an expected schema. This is used to e.g. match expected instances used in the declarative APIs. This eliminates one of the remaining reliances on the utils/schemaUtils JS files for native bindings. Bug: 810487 Change-Id: Id87d38f8196f56b285e9a69221a34f643957d237 Reviewed-on: https://chromium-review.googlesource.com/905422 Commit-Queue: Devlin <rdevlin.cronin@chromium.org> Reviewed-by: Jeremy Roman <jbroman@chromium.org> Reviewed-by: Istiaque Ahmed <lazyboy@chromium.org> Cr-Commit-Position: refs/heads/master@{#536374}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .