summaryrefslogtreecommitdiffstats
path: root/toolkit/components/search/tests/xpcshell/method-extensions/engines.json
blob: 4c0a009f37535267ed8d42a6a238d8fa6d3bd27f (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
  "data": [
    {
      "webExtension": {
        "id": "get@search.mozilla.org"
      },
      "params": {
        "searchUrlGetParams": [
          { "name": "config", "value": "1" },
          { "name": "search", "value": "{searchTerms}" }
        ],
        "suggestUrlGetParams": [
          { "name": "config", "value": "1" },
          { "name": "suggest", "value": "{searchTerms}" }
        ]
      },
      "appliesTo": [
        {
          "included": { "everywhere": true },
          "default": "yes"
        }
      ]
    },
    {
      "webExtension": {
        "id": "post@search.mozilla.org"
      },
      "params": {
        "searchUrlPostParams": [
          { "name": "config", "value": "1" },
          { "name": "search", "value": "{searchTerms}" }
        ],
        "suggestUrlPostParams": [
          { "name": "config", "value": "1" },
          { "name": "suggest", "value": "{searchTerms}" }
        ]
      },
      "appliesTo": [
        {
          "included": { "everywhere": true }
        }
      ]
    }
  ]
}