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
tree: bb41632c799a247adba1817c527c01c5b804fb1c
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. ipc/
  6. mojo/
  7. testing/
  8. third_party/
  9. ui/