summaryrefslogtreecommitdiffstats
path: root/toolkit/components/search/tests/xpcshell/data1/engines.json
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/search/tests/xpcshell/data1/engines.json')
-rw-r--r--toolkit/components/search/tests/xpcshell/data1/engines.json92
1 files changed, 92 insertions, 0 deletions
diff --git a/toolkit/components/search/tests/xpcshell/data1/engines.json b/toolkit/components/search/tests/xpcshell/data1/engines.json
new file mode 100644
index 0000000000..92ffbd48a0
--- /dev/null
+++ b/toolkit/components/search/tests/xpcshell/data1/engines.json
@@ -0,0 +1,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"
+ }
+ ]
+ }
+ ]
+}