trisquel-icecat/icecat/toolkit/components/search/tests/xpcshell/data1/engines.json

92 lines
2 KiB
JSON

{
"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"
}
]
}
]
}