chromium/tools/json_schema_compiler/test/features_test.json

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
{
  "alpha": {
    "channel": "stable",
    "contexts": ["privileged_extension"],
    "dependencies": ["permission:alpha"],
    "max_manifest_version": 1
  },
  "beta": {
    "channel": "dev",
    "contexts": ["privileged_extension"],
    "extension_types": ["extension", "platform_app"],
    "location": "component",
    "allowlist": [
      "ABCDEF0123456789ABCDEF0123456789ABCDEF01",
      "10FEDCBA9876543210FEDCBA9876543210FEDCBA"
    ],
    "blocklist": [
      "0123456789ABCDEF0123456789ABCDEF01234567",
      "76543210FEDCBA9876543210FEDCBA9876543210"
    ],
    "component_extensions_auto_granted": false
  },
  "gamma": {
    "channel": "beta",
    "platforms": ["win", "mac"],
    "contexts": ["privileged_extension"],
    "dependencies": ["permission:gamma"],
    "extension_types": ["extension"],
    "internal": true
  },
  "gamma.child": {
    "allowlist": ["0123456789ABCDEF0123456789ABCDEF01234567"],
    "dependencies": [],
    "platforms": ["linux"]
  },
  "gamma.unparented": {
    "channel": "dev",
    "blocklist": ["0123456789ABCDEF0123456789ABCDEF01234567"],
    "contexts": ["unprivileged_extension"],
    "noparent": true
  },
  "gamma.complex_unparented": [{
    "channel": "stable",
    "contexts": ["unprivileged_extension"],
    "noparent": true
  }, {
    "channel": "stable",
    "contexts": ["unprivileged_extension"],
    "noparent": true
  }],
  "delta": {
    "channel": "dev",
    "contexts": ["privileged_extension", "webui"],
    "matches": ["*://example.com/*"],
    "min_manifest_version": 2
  },
  "pi": {
    "channel": "stable",
    "contexts": ["webui_untrusted"],
    "matches": ["chrome-untrusted://foo/*"]
  },
  "complex": [{
    "channel": "beta",
    "contexts": ["privileged_extension"],
    "extension_types": ["extension"],
    "allowlist": ["0123456789ABCDEF0123456789ABCDEF01234567"],
    "developer_mode_only": false,
    "disallow_for_service_workers": false
  }, {
    "channel": "stable",
    "contexts": ["privileged_extension"],
    "extension_types": ["extension"],
    "default_parent": true
  }],
  "complex.child": {
    "platforms": ["win"],
    "dependencies": ["permission:complex.child"]
  },
  "allEnum": {
    "channel": "beta",
    "extension_types": "all",
    "contexts": "all"
  },
  "uncompiled": {
    "contexts": ["privileged_extension"],
    "nocompile": true
  },
  "alias": {
    "channel": "stable",
    "contexts": ["privileged_extension"],
    "source": "alias_source"
  },
  "alias_source": {
    "channel": "stable",
    "contexts": ["privileged_extension"],
    "alias": "alias"
  },
  "complex_alias": [{
    "channel": "beta",
    "contexts": ["privileged_extension"],
    "source": "complex_alias_source"
  }, {
    "channel": "dev",
    "contexts": ["webui"]
  }],
  "complex_alias_source": [{
    "channel": "beta",
    "contexts": ["privileged_extension"],
    "alias": "complex_alias"
  }, {
    "channel": "dev",
    "contexts": ["webui"]
  }],
  "parent_source" : {
    "channel": "beta",
    "contexts": ["privileged_extension"],
    "alias": "parent_source_alias"
  },
  "parent_source.child" : {
    "channel": "beta",
    "contexts": ["privileged_extension"]
  },
  "parent_source.child_source" : {
    "channel": "beta",
    "contexts": ["privileged_extension"],
    "alias": "parent_source_child_alias"
  },
  "parent_source_alias": {
    "channel": "beta",
    "contexts": ["privileged_extension"],
    "source": "parent_source"
  },
  "parent_source_child_alias": {
    "channel": "beta",
    "contexts": ["privileged_extension"],
    "source": "parent_source.child_source"
  },
  "alias_parent": {
    "channel": "beta",
    "contexts": ["privileged_extension"]
  },
  "alias_parent.child": {
    "channel": "beta",
    "contexts": ["privileged_extension"],
    "source": "child_source"
  },
  "child_source": {
    "channel": "beta",
    "contexts": ["privileged_extension"],
    "alias": "alias_parent.child"
  },
  "empty_contexts": {
    "channel": "beta",
    "contexts": []
  },
  "requires_delegated_availability_check": {
    "channel": "beta",
    "contexts": ["web_page"],
    "requires_delegated_availability_check": true
  }
}