summaryrefslogtreecommitdiffstats
path: root/browser/components/extensions/schemas/devtools.json
blob: 3568a6c10189b905d9003539383ff8be9cfb7463 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[
  {
    "namespace": "manifest",
    "types": [
      {
        "$extend": "WebExtensionManifest",
        "properties": {
          "devtools_page": {
            "$ref": "ExtensionURL",
            "optional": true
          }
        }
      },
      {
        "$extend": "OptionalPermission",
        "choices": [
          {
            "type": "string",
            "enum": ["devtools"]
          }
        ]
      }
    ]
  },
  {
    "namespace": "devtools",
    "permissions": ["manifest:devtools_page"],
    "allowedContexts": ["devtools", "devtools_only"],
    "defaultContexts": ["devtools", "devtools_only"]
  }
]