diff options
author | pneubeck@chromium.org <pneubeck@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-25 14:33:00 +0000 |
---|---|---|
committer | pneubeck@chromium.org <pneubeck@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-25 14:33:00 +0000 |
commit | 6bf29b22431bab73e3b80af000287e425a77d364 (patch) | |
tree | b1684ae69bd7fed21b895ff1d84b9eb082e91100 /components/onc/docs | |
parent | 16738a89fbe85ed32b0f935a7ae1cae1e5ec026b (diff) | |
download | chromium_src-6bf29b22431bab73e3b80af000287e425a77d364.zip chromium_src-6bf29b22431bab73e3b80af000287e425a77d364.tar.gz chromium_src-6bf29b22431bab73e3b80af000287e425a77d364.tar.bz2 |
Allow effectively empty ONC policies without throwing an error.
The ONC validator threw an error if both the Certificates or NetworkConfigurations sections were missing in an ONC policy.
Now, we ignore that fact because we have to expect policies that only contain the new GlobalNetworkConfiguration section.
BUG=386182
Review URL: https://codereview.chromium.org/350443004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279713 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/onc/docs')
-rw-r--r-- | components/onc/docs/onc_spec.html | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/components/onc/docs/onc_spec.html b/components/onc/docs/onc_spec.html index f080ba4..8f0c038 100644 --- a/components/onc/docs/onc_spec.html +++ b/components/onc/docs/onc_spec.html @@ -214,11 +214,9 @@ </dd> </dl> - <p class="rule"> - <span class="rule_id"></span> - At least one array (either <span class="field">NetworkConfigurations</span> - and/or <span class="field">Certificates</span>) must be present. - </p> + Besides the field <span class="field">Type</span>, at least one other field + (<span class="field">NetworkConfigurations</span> or + <span class="field">Certificates</span>) should be present. <section> <h1>Network Configuration</h1> |