| Index: tools/json_schema_compiler/test/features_test.json
|
| diff --git a/tools/json_schema_compiler/test/features_test.json b/tools/json_schema_compiler/test/features_test.json
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e727ec14d3f3067376f483355ecfb0b56d4d3709
|
| --- /dev/null
|
| +++ b/tools/json_schema_compiler/test/features_test.json
|
| @@ -0,0 +1,56 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +{
|
| + "alpha": {
|
| + "channel": "stable",
|
| + "contexts": ["blessed_extension"],
|
| + "dependencies": ["permission:alpha"]
|
| + },
|
| + "beta": {
|
| + "extension_types": ["extension", "platform_app"],
|
| + "whitelist": ["aaa", "bbb"],
|
| + "blacklist": ["zzz", "yyy"],
|
| + "component_extensions_auto_granted": false
|
| + },
|
| + "gamma": {
|
| + "channel": "beta",
|
| + "platforms": ["win", "mac"],
|
| + "contexts": ["blessed_extension"],
|
| + "extension_types": ["extension"],
|
| + "internal": true
|
| + },
|
| + "gamma.child": {
|
| + "whitelist": ["ccc"],
|
| + "dependencies": ["permission:gamma.child"],
|
| + "platforms": ["linux"]
|
| + },
|
| + "gamma.unparented": {
|
| + "blacklist": ["ddd"],
|
| + "contexts": ["unblessed_extension"],
|
| + "noparent": true
|
| + },
|
| + "delta": {
|
| + "contexts": ["blessed_extension", "webui"],
|
| + "matches": ["*://example.com/*"]
|
| + },
|
| + "complex": [{
|
| + "channel": "beta",
|
| + "contexts": ["blessed_extension"],
|
| + "extension_types": ["extension"],
|
| + "whitelist": ["aaa"]
|
| + }, {
|
| + "channel": "stable",
|
| + "contexts": ["blessed_extension"],
|
| + "extension_types": ["extension"],
|
| + "default_parent": true
|
| + }],
|
| + "complex.child": {
|
| + "platforms": ["win"],
|
| + "dependencies": ["permission:complex.child"]
|
| + },
|
| + "uncompiled": {
|
| + "contexts": ["blessed_extension"],
|
| + "nocompile": true
|
| + }
|
| +}
|
|
|