Ignore unknown attributes when parsing JSON schemas.
JSON schemas are used by extensions that support enterprise management,
to declare the policies that they support. The current parser rejects
schemas with unknown attributes; this CL lifts that restriction for 2 reasons:
- the JSON schema spec does not mandate this behavior for validators
- it restricts future extensions to this format
BUG=108992
Review URL: https://codereview.chromium.org/94043003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239407 0039d316-1c4b-4281-b951-d872f2087c98
CrOS-Libchrome-Original-Commit: 200799c3b53491d58480edcc82cc332dd5362e1b
5 files changed