Bug 1705372 - Add new Amazon search engine definitions. r=daleharvey

Differential Revision: https://phabricator.services.mozilla.com/D113397
This commit is contained in:
Mark Banner 2021-04-27 18:46:35 +00:00
parent 0fad36e113
commit 75d5c0e0de
7 changed files with 52 additions and 28 deletions

View File

@ -22,4 +22,4 @@
# changes to stick? As of bug 928195, this shouldn't be necessary! Please
# don't change CLOBBER for WebIDL changes any more.
Merge day clobber
Bug 1705372 - Search Engine Webextensions removing locales need clobber (see bug 1707968)

View File

@ -15,9 +15,9 @@
"message": "field-keywords={searchTerms}&ie={inputEncoding}&mode=blended&tag=mozillaaustra-22&sourceid=Mozilla-search"
},
"suggestUrl": {
"message": ""
"message": "https://completion.amazon.com.au/search/complete"
},
"suggestUrlGetParams": {
"message": ""
"message": "q={searchTerms}&search-alias=aps&mkt=111172"
}
}

View File

@ -1,23 +0,0 @@
{
"extensionName": {
"message": "Amazon.com.mx"
},
"extensionDescription": {
"message": "Amazon.com.mx Search"
},
"searchUrl": {
"message": "https://www.amazon.com.mx/exec/obidos/external-search/"
},
"searchForm": {
"message": "https://www.amazon.com.mx/exec/obidos/external-search/?field-keywords={searchTerms}&ie={inputEncoding}&mode=blended"
},
"searchUrlGetParams": {
"message": "field-keywords={searchTerms}&ie={inputEncoding}&mode=blended"
},
"suggestUrl": {
"message": ""
},
"suggestUrlGetParams": {
"message": ""
}
}

View File

@ -0,0 +1,23 @@
{
"extensionName": {
"message": "Amazon.es"
},
"extensionDescription": {
"message": "Amazon.es"
},
"searchUrl": {
"message": "https://www.amazon.es/exec/obidos/external-search/"
},
"searchForm": {
"message": "https://www.amazon.es/"
},
"searchUrlGetParams": {
"message": "field-keywords={searchTerms}&ie={inputEncoding}&mode=blended&tag=mozillaspain-21&sourceid=Mozilla-search"
},
"suggestUrl": {
"message": "https://completion.amazon.es/search/complete"
},
"suggestUrlGetParams": {
"message": "q={searchTerms}&search-alias=aps&mkt=44551"
}
}

View File

@ -0,0 +1,23 @@
{
"extensionName": {
"message": "Amazon.se"
},
"extensionDescription": {
"message": "Amazon.se"
},
"searchUrl": {
"message": "https://www.amazon.se/exec/obidos/external-search/"
},
"searchForm": {
"message": "https://www.amazon.se/"
},
"searchUrlGetParams": {
"message": "field-keywords={searchTerms}&ie={inputEncoding}&mode=blended&tag=mozillasweede-21&sourceid=Mozilla-search"
},
"suggestUrl": {
"message": "https://completion.amazon.se/search/complete"
},
"suggestUrlGetParams": {
"message": "q={searchTerms}&search-alias=aps&mkt=704403121"
}
}

View File

@ -2,7 +2,7 @@
"name": "__MSG_extensionName__",
"description": "__MSG_extensionDescription__",
"manifest_version": 2,
"version": "1.5",
"version": "1.7",
"applications": {
"gecko": {
"id": "amazon@search.mozilla.org"

View File

@ -102,7 +102,8 @@ const test = new SearchConfigTest({
},
],
searchUrlCode: "tag=mozillaaustra-22",
noSuggestionsURL: true,
suggestionUrlBase: "https://completion.amazon.com.au/search/complete",
suggestUrlCode: "mkt=111172",
},
{
domain: "amazon.ca",