summaryrefslogtreecommitdiffstats
path: root/extensions/test/data/manifest_tests/file_handlers_valid.json
blob: d943091839fb54c500c192635333ee8a9ff9b20e (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
{
  "name": "test",
  "description": "App with file_handlers manifest.",
  "version": "1",
  "app": {
    "background": {
      "scripts": ["background.js"]
    }
  },
  "file_handlers": {
    "text": {
      "types": [
        "text/*"
      ]
    },
    "image": {
      "types": [
        "image/*"
      ],
      "extensions": [
        ".png",
        ".gif"
      ]
    }
  }
}