summaryrefslogtreecommitdiffstats
path: root/toolkit/components/search/tests/xpcshell/data1/engines.json
blob: 92ffbd48a04d16a37ad4a3c7edcbc7fcd3ac47f6 (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
  "data": [
    {
      "webExtension": {
        "id": "engine1@search.mozilla.org",
        "name": "engine1",
        "search_url": "https://1.example.com/search",
        "params": [
          {
            "name": "q",
            "value": "{searchTerms}"
          }
        ]
      },
      "orderHint": 10000,
      "appliesTo": [
        {
          "included": { "everywhere": true },
          "default": "yes-if-no-other",
          "defaultPrivate": "yes-if-no-other"
        }
      ]
    },
    {
      "webExtension": {
        "id": "engine2@search.mozilla.org",
        "name": "engine2",
        "search_url": "https://2.example.com/search",
        "params": [
          {
            "name": "q",
            "value": "{searchTerms}"
          }
        ]
      },
      "orderHint": 7000,
      "appliesTo": [
        {
          "included": { "everywhere": true },
          "default": "no"
        },
        {
          "included": { "everywhere": true },
          "default": "yes",
          "experiment": "exp1"
        }
      ]
    },
    {
      "webExtension": {
        "id": "exp2@search.mozilla.org",
        "name": "exp2",
        "search_url": "https://2.example.com/searchexp",
        "params": [
          {
            "name": "q",
            "value": "{searchTerms}"
          }
        ]
      },
      "orderHint": 5000,
      "appliesTo": [
        {
          "included": { "everywhere": true },
          "defaultPrivate": "yes",
          "experiment": "exp2"
        }
      ]
    },
    {
      "webExtension": {
        "id": "exp3@search.mozilla.org",
        "name": "exp3",
        "search_url": "https://3.example.com/searchexp",
        "params": [
          {
            "name": "q",
            "value": "{searchTerms}"
          }
        ]
      },
      "orderHint": 20000,
      "appliesTo": [
        {
          "included": { "everywhere": true },
          "default": "yes",
          "experiment": "exp3"
        }
      ]
    }
  ]
}