Bug 1406164 - We're bringing eBay back. r?flod draft
authorMichael Kaply <mozilla@kaply.com>
Wed, 11 Oct 2017 10:10:18 -0500
changeset 678733 d13785ba95fc85c367206a9ef06b49cb71f1f252
parent 678523 f3e939a81ee1169f9501ad96eb43bbf4bf4a1bde
child 735420 80733f899eb608ddd7a9004ece78a1f6eb7801aa
push id84022
push usermozilla@kaply.com
push dateWed, 11 Oct 2017 20:01:38 +0000
reviewersflod
bugs1406164
milestone58.0a1
Bug 1406164 - We're bringing eBay back. r?flod MozReview-Commit-ID: 42EvPHcFgNS
browser/components/search/test/browser.ini
browser/components/search/test/browser_eBay.js
browser/components/search/test/browser_searchEngine_behaviors.js
browser/locales/jar.mn
browser/locales/search/list.json
browser/locales/searchplugins/ebay-at.xml
browser/locales/searchplugins/ebay-au.xml
browser/locales/searchplugins/ebay-be.xml
browser/locales/searchplugins/ebay-ca.xml
browser/locales/searchplugins/ebay-ch.xml
browser/locales/searchplugins/ebay-de.xml
browser/locales/searchplugins/ebay-es.xml
browser/locales/searchplugins/ebay-fr.xml
browser/locales/searchplugins/ebay-ie.xml
browser/locales/searchplugins/ebay-in.xml
browser/locales/searchplugins/ebay-it.xml
browser/locales/searchplugins/ebay-nl.xml
browser/locales/searchplugins/ebay-uk.xml
browser/locales/searchplugins/ebay.xml
browser/locales/searchplugins/images/ebay.ico
--- a/browser/components/search/test/browser.ini
+++ b/browser/components/search/test/browser.ini
@@ -18,16 +18,17 @@ support-files =
 [browser_483086.js]
 [browser_addEngine.js]
 [browser_amazon.js]
 [browser_bing.js]
 [browser_contextmenu.js]
 [browser_contextSearchTabPosition.js]
 skip-if = os == "mac" # bug 967013
 [browser_ddg.js]
+[browser_eBay.js]
 [browser_google.js]
 skip-if = artifact # bug 1315953
 [browser_google_codes.js]
 skip-if = artifact # bug 1315953
 [browser_google_nocodes.js]
 skip-if = artifact # bug 1315953
 [browser_google_behavior.js]
 skip-if = artifact # bug 1315953
new file mode 100644
--- /dev/null
+++ b/browser/components/search/test/browser_eBay.js
@@ -0,0 +1,71 @@
+/* Any copyright is dedicated to the Public Domain.
+ * http://creativecommons.org/publicdomain/zero/1.0/ */
+
+/*
+ * Test eBay search plugin URLs
+ */
+
+"use strict";
+
+const BROWSER_SEARCH_PREF = "browser.search.";
+
+function test() {
+  let engine = Services.search.getEngineByName("eBay");
+  ok(engine, "eBay");
+
+  let base = "https://rover.ebay.com/rover/1/711-53200-19255-0/1?ff3=4&toolid=20004&campid=5338192028&customid=&mpre=https://www.ebay.com/sch/foo";
+  let url;
+
+  // Test search URLs (including purposes).
+  url = engine.getSubmission("foo").uri.spec;
+  is(url, base, "Check search URL for 'foo'");
+
+  // Check all other engine properties.
+  const EXPECTED_ENGINE = {
+    name: "eBay",
+    alias: null,
+    description: "eBay - Online auctions",
+    searchForm: "https://www.ebay.com/",
+    hidden: false,
+    wrappedJSObject: {
+      "_iconURL": "resource://search-plugins/images/ebay.ico",
+      _urls : [
+        {
+          type: "text/html",
+          method: "GET",
+          template: "https://rover.ebay.com/rover/1/711-53200-19255-0/1",
+          params: [
+            {
+              name: "ff3",
+              value: "4",
+              purpose: undefined,
+            },
+            {
+              name: "toolid",
+              value: "20004",
+              purpose: undefined,
+            },
+            {
+              name: "campid",
+              value: "5338192028",
+              purpose: undefined,
+            },
+            {
+              name: "customid",
+              value: "",
+              purpose: undefined,
+            },
+            {
+              name: "mpre",
+              value: "https://www.ebay.com/sch/{searchTerms}",
+              purpose: undefined,
+            },
+          ],
+          mozparams: {},
+        },
+      ],
+    },
+  };
+
+  isSubObjectOf(EXPECTED_ENGINE, engine, "eBay");
+}
--- a/browser/components/search/test/browser_searchEngine_behaviors.js
+++ b/browser/components/search/test/browser_searchEngine_behaviors.js
@@ -33,16 +33,26 @@ const SEARCH_ENGINE_DETAILS = [{
   codes: {
     context: "&t=ffcm",
     keyword: "&t=ffab",
     newTab: "&t=ffnt",
     submission: "&t=ffsb",
   },
   name: "DuckDuckGo",
 }, {
+  alias: "e",
+  baseURL: "https://rover.ebay.com/rover/1/711-53200-19255-0/1?ff3=4&toolid=20004&campid=5338192028&customid=&mpre=https://www.ebay.com/sch/foo",
+  codes: {
+    context: "",
+    keyword: "",
+    newTab: "",
+    submission: "",
+  },
+  name: "eBay",
+}, {
 // TODO: Google is tested in browser_google_behaviors.js - we can't test it here
 // yet because of bug 1315953.
 //   alias: "g",
 //   baseURL: "https://www.google.com/search?q=foo&ie=utf-8&oe=utf-8",
 //   codes: {
 //     context: "",
 //     keyword: "",
 //     newTab: "",
@@ -204,14 +214,16 @@ async function testSearchEngine(engineDe
     }
 
     let stateChangePromise = promiseStateChangeURI();
 
     await test.run(tab);
 
     let receivedURI = await stateChangePromise;
 
+    Components.utils.reportError(receivedURI);
+    Components.utils.reportError(test.searchURL);
     Assert.equal(receivedURI, test.searchURL);
   }
 
   engine.alias = undefined;
   await BrowserTestUtils.removeTab(tab);
 }
--- a/browser/locales/jar.mn
+++ b/browser/locales/jar.mn
@@ -93,16 +93,17 @@
 #if BUILD_FASTER
     locale/browser/searchplugins/               (searchplugins/*.xml)
     locale/browser/searchplugins/list.json      (search/list.json)
 #else
     locale/browser/searchplugins/               (.deps/generated_@AB_CD@/*.xml)
     locale/browser/searchplugins/list.json      (.deps/generated_@AB_CD@/list.json)
 #endif
     locale/browser/searchplugins/images/amazon.ico     (searchplugins/images/amazon.ico)
+    locale/browser/searchplugins/images/ebay.ico       (searchplugins/images/ebay.ico)
     locale/browser/searchplugins/images/wikipedia.ico  (searchplugins/images/wikipedia.ico)
     locale/browser/searchplugins/images/yahoo.ico      (searchplugins/images/yahoo.ico)
     locale/browser/searchplugins/images/yandex-en.ico  (searchplugins/images/yandex-en.ico)
     locale/browser/searchplugins/images/yandex-ru.ico  (searchplugins/images/yandex-ru.ico)
 % locale browser-region @AB_CD@ %locale/browser-region/
     locale/browser-region/region.properties        (%chrome/browser-region/region.properties)
 # the following files are browser-specific overrides
     locale/browser/netError.dtd                (%chrome/overrides/netError.dtd)
--- a/browser/locales/search/list.json
+++ b/browser/locales/search/list.json
@@ -4,17 +4,19 @@
       "google", "yahoo", "amazondotcom", "bing", "ddg", "twitter", "wikipedia"
     ]
   },
   "regionOverrides": {
     "US": {
       "google": "google-nocodes"
     },
     "CA": {
-      "google": "google-nocodes"
+      "google": "google-nocodes",
+      "ebay": "ebay-ca",
+      "ebay-fr": "ebay-ca"
     },
     "KZ": {
       "google": "google-nocodes"
     },
     "BY": {
       "google": "google-nocodes"
     },
     "RU": {
@@ -26,23 +28,50 @@
     "CN": {
       "google": "google-nocodes"
     },
     "TW": {
       "google": "google-nocodes"
     },
     "HK": {
       "google": "google-nocodes"
+    },
+    "AT": {
+      "ebay-de": "ebay-at"
+    },
+    "AU": {
+      "ebay": "ebay-au",
+      "ebay-uk": "ebay-au"
+    },
+    "BE": {
+      "ebay": "ebay-be",
+      "ebay-nl": "ebay-be",
+      "ebay-fr": "ebay-be"
+    },
+    "CH": {
+      "ebay": "ebay-ch",
+      "ebay-de": "ebay-ch",
+      "ebay-fr": "ebay-ch"
+    },
+    "IE": {
+      "ebay": "ebay-ie",
+      "ebay-uk": "ebay-ie"
+    },
+    "NL": {
+      "ebay": "ebay-nl"
+    },
+    "GB": {
+      "ebay": "ebay-gb"
     }
   },
   "locales": {
     "en-US": {
       "default": {
         "visibleDefaultEngines": [
-          "google", "yahoo", "amazondotcom", "bing", "ddg", "twitter", "wikipedia"
+          "google", "yahoo", "amazondotcom", "bing", "ddg", "ebay", "twitter", "wikipedia"
         ]
       },
       "experimental-hidden": {
         "visibleDefaultEngines": [
           "yahoo-en-CA", "yandex-en"
         ]
       }
     },
@@ -58,17 +87,17 @@
         "visibleDefaultEngines": [
           "google", "yahoo", "bing", "amazondotcom", "ddg", "wikipedia-af"
         ]
       }
     },
     "an": {
       "default": {
         "visibleDefaultEngines": [
-          "google", "yahoo-es", "bing", "wikipedia-an", "ddg", "twitter"
+          "google", "yahoo-es", "bing", "ebay-es", "wikipedia-an", "ddg", "twitter"
         ]
       }
     },
     "ar": {
       "default": {
         "visibleDefaultEngines": [
           "google", "yahoo", "bing", "amazondotcom", "ddg", "wikipedia-ar"
         ]
@@ -79,17 +108,17 @@
         "visibleDefaultEngines": [
           "google", "yahoo-in", "amazondotcom", "ddg", "wikipedia-as"
         ]
       }
     },
     "ast": {
       "default": {
         "visibleDefaultEngines": [
-          "google", "yahoo-es", "bing", "diccionariu-alla", "ddg", "wikipedia-ast"
+          "google", "yahoo-es", "bing", "diccionariu-alla", "ddg", "ebay-es", "wikipedia-ast"
         ]
       }
     },
     "az": {
       "default": {
         "visibleDefaultEngines": [
           "google", "amazondotcom", "azerdict", "bing", "ddg", "wikipedia-az", "yandex-az"
         ]
@@ -121,31 +150,31 @@
         "visibleDefaultEngines": [
           "google", "yahoo-in", "amazondotcom", "bing", "ddg", "rediff", "wikipedia-bn"
         ]
       }
     },
     "br": {
       "default": {
         "visibleDefaultEngines": [
-          "google", "yahoo-france", "amazon-france", "ddg", "freelang", "klask", "wikipedia-br"
+          "google", "yahoo-france", "amazon-france", "ddg", "ebay-fr", "freelang", "klask", "wikipedia-br"
         ]
       }
     },
     "bs": {
       "default": {
         "visibleDefaultEngines": [
           "google", "yahoo", "ddg", "olx", "twitter", "wikipedia-bs"
         ]
       }
     },
     "ca": {
       "default": {
         "visibleDefaultEngines": [
-          "google", "bing", "diec2", "ddg", "twitter", "wikipedia-ca"
+          "google", "bing", "diec2", "ddg", "ebay-es", "twitter", "wikipedia-ca"
         ]
       }
     },
     "cak": {
       "default": {
         "visibleDefaultEngines": [
           "google", "yahoo-espanol", "bing", "amazondotcom", "ddg", "wikipedia-es"
         ]
@@ -156,52 +185,52 @@
         "visibleDefaultEngines": [
           "google", "seznam-cz", "ddg", "heureka-cz", "mapy-cz", "wikipedia-cz"
         ]
       }
     },
     "cy": {
       "default": {
         "visibleDefaultEngines": [
-          "google", "yahoo-en-GB", "amazon-en-GB", "ddg", "palasprint", "termau", "wikipedia-cy"
+          "google", "yahoo-en-GB", "amazon-en-GB", "ddg", "ebay-uk", "palasprint", "termau", "wikipedia-cy"
         ]
       }
     },
     "da": {
       "default": {
         "visibleDefaultEngines": [
           "google", "bing", "amazon-en-GB", "ddg", "wikipedia-da"
         ]
       }
     },
     "de": {
       "default": {
         "visibleDefaultEngines": [
-          "google", "yahoo-de", "amazondotcom-de", "bing", "ddg", "leo_ende_de", "wikipedia-de"
+          "google", "yahoo-de", "amazondotcom-de", "bing", "ddg", "ebay-de", "leo_ende_de", "wikipedia-de"
         ]
       }
     },
     "dsb": {
       "default": {
         "visibleDefaultEngines": [
-          "google", "yahoo-de", "bing", "amazondotcom-de", "ddg", "leo_ende_de", "wikipedia-dsb"
+          "google", "yahoo-de", "bing", "amazondotcom-de", "ddg", "ebay-de", "leo_ende_de", "wikipedia-dsb"
         ]
       }
     },
     "el": {
       "default": {
         "visibleDefaultEngines": [
           "google", "yahoo", "amazon-en-GB", "bing", "ddg", "wikipedia-el"
         ]
       }
     },
     "en-GB": {
       "default": {
         "visibleDefaultEngines": [
-          "google", "yahoo-en-GB", "bing", "amazon-en-GB", "chambers-en-GB", "ddg", "twitter", "wikipedia"
+          "google", "yahoo-en-GB", "bing", "amazon-en-GB", "chambers-en-GB", "ddg", "ebay-uk", "twitter", "wikipedia"
         ]
       },
       "experimental-hidden": {
         "visibleDefaultEngines": [
           "yandex-en"
         ]
       }
     },
@@ -231,17 +260,17 @@
         "visibleDefaultEngines": [
           "google", "yahoo-cl", "bing", "drae", "ddg", "mercadolibre-cl", "wikipedia-es"
         ]
       }
     },
     "es-ES": {
       "default": {
         "visibleDefaultEngines": [
-          "google", "yahoo-es", "bing", "drae", "ddg", "twitter", "wikipedia-es"
+          "google", "yahoo-es", "bing", "drae", "ddg", "ebay-es", "twitter", "wikipedia-es"
         ]
       }
     },
     "es-MX": {
       "default": {
         "visibleDefaultEngines": [
           "google", "yahoo-mx", "bing", "ddg", "mercadolibre-mx", "wikipedia-es"
         ]
@@ -252,17 +281,17 @@
         "visibleDefaultEngines": [
           "google", "neti-ee", "ddg", "osta-ee", "wikipedia-et", "eki-ee"
         ]
       }
     },
     "eu": {
       "default": {
         "visibleDefaultEngines": [
-          "google", "yahoo", "bing", "amazon-en-GB", "ddg", "elebila", "wikipedia-eu"
+          "google", "yahoo", "bing", "amazon-en-GB", "ddg", "ebay-es", "elebila", "wikipedia-eu"
         ]
       }
     },
     "fa": {
       "default": {
         "visibleDefaultEngines": [
           "google", "yahoo", "amazondotcom", "bing", "ddg", "wikipedia-fa"
         ]
@@ -280,45 +309,45 @@
         "visibleDefaultEngines": [
           "google", "yahoo-fi", "bing", "bookplus-fi", "ddg", "wikipedia-fi"
         ]
       }
     },
     "fr": {
       "default": {
         "visibleDefaultEngines": [
-          "google", "yahoo-france", "bing", "amazon-france", "ddg", "cnrtl-tlfi-fr", "wikipedia-fr"
+          "google", "yahoo-france", "bing", "amazon-france", "ddg", "ebay-fr", "cnrtl-tlfi-fr", "wikipedia-fr"
         ]
       }
     },
     "fy-NL": {
       "default": {
         "visibleDefaultEngines": [
-          "google", "yahoo-fy-NL", "bing", "bolcom-fy-NL", "ddg", "marktplaats-fy-NL", "wikipedia-fy-NL"
+          "google", "yahoo-fy-NL", "bing", "bolcom-fy-NL", "ddg", "ebay-nl", "marktplaats-fy-NL", "wikipedia-fy-NL"
         ]
       }
     },
     "ga-IE": {
       "default": {
         "visibleDefaultEngines": [
-          "google", "yahoo-en-GB", "amazon-en-GB", "ddg", "tearma", "twitter", "wikipedia-ga-IE"
+          "google", "yahoo-en-GB", "amazon-en-GB", "ddg", "ebay-ie", "tearma", "twitter", "wikipedia-ga-IE"
         ]
       }
     },
     "gd": {
       "default": {
         "visibleDefaultEngines": [
-          "google", "yahoo-en-GB", "faclair-beag", "amazon-en-GB", "bbc-alba", "ddg", "wikipedia-gd"
+          "google", "yahoo-en-GB", "amazon-en-GB", "bbc-alba", "ddg", "ebay-uk", "faclair-beag", "wikipedia-gd"
         ]
       }
     },
     "gl": {
       "default": {
         "visibleDefaultEngines": [
-          "google", "yahoo-es", "amazon-en-GB", "ddg", "wikipedia-gl"
+          "google", "yahoo-es", "amazon-en-GB", "ddg", "ebay-es", "wikipedia-gl"
         ]
       }
     },
     "gn": {
       "default": {
         "visibleDefaultEngines": [
           "google", "yahoo-es", "bing", "amazondotcom", "ddg", "twitter", "wikipedia-gn"
         ]
@@ -350,17 +379,17 @@
         "visibleDefaultEngines": [
           "google", "yahoo", "amazon-en-GB", "bing", "ddg", "eudict", "twitter", "wikipedia-hr"
         ]
       }
     },
     "hsb": {
       "default": {
         "visibleDefaultEngines": [
-          "google", "yahoo-de", "bing", "amazondotcom-de", "ddg", "leo_ende_de", "wikipedia-hsb"
+          "google", "yahoo-de", "bing", "amazondotcom-de", "ddg", "ebay-de", "leo_ende_de", "wikipedia-hsb"
         ]
       }
     },
     "hu": {
       "default": {
         "visibleDefaultEngines": [
           "google", "ddg", "sztaki-en-hu", "vatera", "wikipedia-hu"
         ]
@@ -392,17 +421,17 @@
         "visibleDefaultEngines": [
           "google", "yahoo", "bing", "amazondotcom", "ddg", "leit-is", "wikipedia-is"
         ]
       }
     },
     "it": {
       "default": {
         "visibleDefaultEngines": [
-          "google", "yahoo-it", "bing", "amazon-it", "ddg", "hoepli", "wikipedia-it"
+          "google", "yahoo-it", "bing", "amazon-it", "ddg", "ebay-it", "hoepli", "wikipedia-it"
         ]
       }
     },
     "ja-JP-mac": {
       "default": {
         "visibleDefaultEngines": [
           "google", "yahoo-jp", "bing", "amazon-jp", "rakuten", "yahoo-jp-auctions", "oshiete-goo", "twitter-ja", "wikipedia-ja", "ddg"
         ]
@@ -455,17 +484,17 @@
         "visibleDefaultEngines": [
           "google", "ddg", "naver-kr", "danawa-kr", "daum-kr", "wikipedia-kr"
         ]
       }
     },
     "lij": {
       "default": {
         "visibleDefaultEngines": [
-          "google", "yahoo-it", "bing", "amazon-it", "ddg", "paroledigenova-lij", "wikipedia-lij"
+          "google", "yahoo-it", "bing", "amazon-it", "ddg", "ebay-it", "paroledigenova-lij", "wikipedia-lij"
         ]
       }
     },
     "lo": {
       "default": {
         "visibleDefaultEngines": [
           "google", "yahoo", "bing", "ddg", "wikipedia-lo", "twitter"
         ]
@@ -546,17 +575,17 @@
         "visibleDefaultEngines": [
           "google", "yahoo", "bing", "ddg", "twitter", "wikipedia-ne"
         ]
       }
     },
     "nl": {
       "default": {
         "visibleDefaultEngines": [
-          "google", "bing", "bolcom-nl", "ddg", "marktplaats-nl", "wikipedia-nl"
+          "google", "bing", "bolcom-nl", "ddg", "ebay-nl", "marktplaats-nl", "wikipedia-nl"
         ]
       }
     },
     "nn-NO": {
       "default": {
         "visibleDefaultEngines": [
           "google", "bing", "amazon-en-GB", "ddg", "gulesider-NO", "bok-NO", "qxl-NO", "wikipedia-NN"
         ]
@@ -595,17 +624,17 @@
         "visibleDefaultEngines": [
           "google", "amazon-en-GB", "ddg", "priberam", "sapo", "wikipedia-pt"
         ]
       }
     },
     "rm": {
       "default": {
         "visibleDefaultEngines": [
-          "google", "yahoo-ch", "bing", "ddg", "leo_ende_de-rm", "pledarigrond", "wikipedia-rm"
+          "google", "yahoo-ch", "bing", "ddg", "ebay-ch", "leo_ende_de-rm", "pledarigrond", "wikipedia-rm"
         ]
       }
     },
     "ro": {
       "default": {
         "visibleDefaultEngines": [
           "google", "yahoo", "bing", "amazondotcom", "ddg", "wikipediaro"
         ]
new file mode 100644
--- /dev/null
+++ b/browser/locales/searchplugins/ebay-at.xml
@@ -0,0 +1,19 @@
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+   - License, v. 2.0. If a copy of the MPL was not distributed with this
+   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+
+<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
+<ShortName>eBay</ShortName>
+<Description>eBay - Online auctions</Description>
+<Image width="16" height="16">resource://search-plugins/images/ebay.ico</Image>
+<Url type="text/html" method="GET" template="https://rover.ebay.com/rover/1/5221-53469-19255-0/1" resultdomain="ebay.com">
+  <Param name="ff3" value="4"/>
+  <Param name="toolid" value="20004"/>
+  <Param name="campid" value="5338192028"/>
+  <Param name="customid" value=""/>
+  <Param name="mpre" value="https://www.ebay.at/sch/{searchTerms}" />
+</Url>
+<SearchForm>https://www.ebay.at/</SearchForm>
+</SearchPlugin>
+
+
new file mode 100644
--- /dev/null
+++ b/browser/locales/searchplugins/ebay-au.xml
@@ -0,0 +1,19 @@
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+   - License, v. 2.0. If a copy of the MPL was not distributed with this
+   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+
+<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
+<ShortName>eBay</ShortName>
+<Description>eBay - Online auctions</Description>
+<Image width="16" height="16">resource://search-plugins/images/ebay.ico</Image>
+<Url type="text/html" method="GET" template="https://rover.ebay.com/rover/1/705-53470-19255-0/1" resultdomain="ebay.com">
+  <Param name="ff3" value="4"/>
+  <Param name="toolid" value="20004"/>
+  <Param name="campid" value="5338192028"/>
+  <Param name="customid" value=""/>
+  <Param name="mpre" value="https://www.ebay.com.au/sch/{searchTerms}" />
+</Url>
+<SearchForm>https://www.ebay.com.au/</SearchForm>
+</SearchPlugin>
+
+
new file mode 100644
--- /dev/null
+++ b/browser/locales/searchplugins/ebay-be.xml
@@ -0,0 +1,19 @@
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+   - License, v. 2.0. If a copy of the MPL was not distributed with this
+   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+
+<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
+<ShortName>eBay</ShortName>
+<Description>eBay - Online auctions</Description>
+<Image width="16" height="16">resource://search-plugins/images/ebay.ico</Image>
+<Url type="text/html" method="GET" template="https://rover.ebay.com/rover/1/1553-53471-19255-0/1" resultdomain="ebay.com">
+  <Param name="ff3" value="4"/>
+  <Param name="toolid" value="20004"/>
+  <Param name="campid" value="5338192028"/>
+  <Param name="customid" value=""/>
+  <Param name="mpre" value="https://www.befr.ebay.be/sch/{searchTerms}" />
+</Url>
+<SearchForm>https://www.ebay.at/</SearchForm>
+</SearchPlugin>
+
+
new file mode 100644
--- /dev/null
+++ b/browser/locales/searchplugins/ebay-ca.xml
@@ -0,0 +1,19 @@
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+   - License, v. 2.0. If a copy of the MPL was not distributed with this
+   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+
+<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
+<ShortName>eBay</ShortName>
+<Description>eBay - Online auctions</Description>
+<Image width="16" height="16">resource://search-plugins/images/ebay.ico</Image>
+<Url type="text/html" method="GET" template="https://rover.ebay.com/rover/1/706-53473-19255-0/1" resultdomain="ebay.com">
+  <Param name="ff3" value="4"/>
+  <Param name="toolid" value="20004"/>
+  <Param name="campid" value="5338192028"/>
+  <Param name="customid" value=""/>
+  <Param name="mpre" value="https://www.ebay.ca/sch/{searchTerms}" />
+</Url>
+<SearchForm>https://www.ebay.ca/</SearchForm>
+</SearchPlugin>
+
+
new file mode 100644
--- /dev/null
+++ b/browser/locales/searchplugins/ebay-ch.xml
@@ -0,0 +1,19 @@
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+   - License, v. 2.0. If a copy of the MPL was not distributed with this
+   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+
+<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
+<ShortName>eBay</ShortName>
+<Description>eBay - Online auctions</Description>
+<Image width="16" height="16">resource://search-plugins/images/ebay.ico</Image>
+<Url type="text/html" method="GET" template="https://rover.ebay.com/rover/1/5222-53480-19255-0/1" resultdomain="ebay.com">
+  <Param name="ff3" value="4"/>
+  <Param name="toolid" value="20004"/>
+  <Param name="campid" value="5338192028"/>
+  <Param name="customid" value=""/>
+  <Param name="mpre" value="https://www.ebay.ch/sch/{searchTerms}" />
+</Url>
+<SearchForm>https://www.ebay.ch/</SearchForm>
+</SearchPlugin>
+
+
new file mode 100644
--- /dev/null
+++ b/browser/locales/searchplugins/ebay-de.xml
@@ -0,0 +1,19 @@
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+   - License, v. 2.0. If a copy of the MPL was not distributed with this
+   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+
+<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
+<ShortName>eBay</ShortName>
+<Description>eBay - Online auctions</Description>
+<Image width="16" height="16">resource://search-plugins/images/ebay.ico</Image>
+<Url type="text/html" method="GET" template="https://rover.ebay.com/rover/1/707-53477-19255-0/1" resultdomain="ebay.com">
+  <Param name="ff3" value="4"/>
+  <Param name="toolid" value="20004"/>
+  <Param name="campid" value="5338192028"/>
+  <Param name="customid" value=""/>
+  <Param name="mpre" value="https://www.ebay.de/sch/{searchTerms}" />
+</Url>
+<SearchForm>https://www.ebay.de/</SearchForm>
+</SearchPlugin>
+
+
new file mode 100644
--- /dev/null
+++ b/browser/locales/searchplugins/ebay-es.xml
@@ -0,0 +1,19 @@
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+   - License, v. 2.0. If a copy of the MPL was not distributed with this
+   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+
+<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
+<ShortName>eBay</ShortName>
+<Description>eBay - Online auctions</Description>
+<Image width="16" height="16">resource://search-plugins/images/ebay.ico</Image>
+<Url type="text/html" method="GET" template="https://rover.ebay.com/rover/1/1185-53479-19255-0/1" resultdomain="ebay.com">
+  <Param name="ff3" value="4"/>
+  <Param name="toolid" value="20004"/>
+  <Param name="campid" value="5338192028"/>
+  <Param name="customid" value=""/>
+  <Param name="mpre" value="https://www.ebay.es/sch/{searchTerms}" />
+</Url>
+<SearchForm>https://www.ebay.es/</SearchForm>
+</SearchPlugin>
+
+
new file mode 100644
--- /dev/null
+++ b/browser/locales/searchplugins/ebay-fr.xml
@@ -0,0 +1,19 @@
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+   - License, v. 2.0. If a copy of the MPL was not distributed with this
+   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+
+<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
+<ShortName>eBay</ShortName>
+<Description>eBay - Online auctions</Description>
+<Image width="16" height="16">resource://search-plugins/images/ebay.ico</Image>
+<Url type="text/html" method="GET" template="https://rover.ebay.com/rover/1/709-53476-19255-0/1" resultdomain="ebay.com">
+  <Param name="ff3" value="4"/>
+  <Param name="toolid" value="20004"/>
+  <Param name="campid" value="5338192028"/>
+  <Param name="customid" value=""/>
+  <Param name="mpre" value="https://www.ebay.fr/sch/{searchTerms}" />
+</Url>
+<SearchForm>https://www.ebay.fr/</SearchForm>
+</SearchPlugin>
+
+
new file mode 100644
--- /dev/null
+++ b/browser/locales/searchplugins/ebay-ie.xml
@@ -0,0 +1,19 @@
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+   - License, v. 2.0. If a copy of the MPL was not distributed with this
+   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+
+<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
+<ShortName>eBay</ShortName>
+<Description>eBay - Online auctions</Description>
+<Image width="16" height="16">resource://search-plugins/images/ebay.ico</Image>
+<Url type="text/html" method="GET" template="https://rover.ebay.com/rover/1/5282-53468-19255-0/1" resultdomain="ebay.com">
+  <Param name="ff3" value="4"/>
+  <Param name="toolid" value="20004"/>
+  <Param name="campid" value="5338192028"/>
+  <Param name="customid" value=""/>
+  <Param name="mpre" value="https://www.ebay.ie/sch/{searchTerms}" />
+</Url>
+<SearchForm>https://www.ebay.ie/</SearchForm>
+</SearchPlugin>
+
+
new file mode 100644
--- /dev/null
+++ b/browser/locales/searchplugins/ebay-in.xml
@@ -0,0 +1,19 @@
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+   - License, v. 2.0. If a copy of the MPL was not distributed with this
+   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+
+<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
+<ShortName>eBay</ShortName>
+<Description>eBay - Online auctions</Description>
+<Image width="16" height="16">resource://search-plugins/images/ebay.ico</Image>
+<Url type="text/html" method="GET" template="https://rover.ebay.com/rover/1/4686-53472-19255-0/1" resultdomain="ebay.com">
+  <Param name="ff3" value="4"/>
+  <Param name="toolid" value="20004"/>
+  <Param name="campid" value="5338192028"/>
+  <Param name="customid" value=""/>
+  <Param name="mpre" value="https://www.ebay.in/sch/{searchTerms}" />
+</Url>
+<SearchForm>https://www.ebay.in/</SearchForm>
+</SearchPlugin>
+
+
new file mode 100644
--- /dev/null
+++ b/browser/locales/searchplugins/ebay-it.xml
@@ -0,0 +1,19 @@
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+   - License, v. 2.0. If a copy of the MPL was not distributed with this
+   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+
+<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
+<ShortName>eBay</ShortName>
+<Description>eBay - Online auctions</Description>
+<Image width="16" height="16">resource://search-plugins/images/ebay.ico</Image>
+<Url type="text/html" method="GET" template="https://rover.ebay.com/rover/1/724-53478-19255-0/1" resultdomain="ebay.com">
+  <Param name="ff3" value="4"/>
+  <Param name="toolid" value="20004"/>
+  <Param name="campid" value="5338192028"/>
+  <Param name="customid" value=""/>
+  <Param name="mpre" value="https://www.ebay.it/sch/{searchTerms}" />
+</Url>
+<SearchForm>https://www.ebay.it/</SearchForm>
+</SearchPlugin>
+
+
new file mode 100644
--- /dev/null
+++ b/browser/locales/searchplugins/ebay-nl.xml
@@ -0,0 +1,19 @@
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+   - License, v. 2.0. If a copy of the MPL was not distributed with this
+   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+
+<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
+<ShortName>eBay</ShortName>
+<Description>eBay - Online auctions</Description>
+<Image width="16" height="16">resource://search-plugins/images/ebay.ico</Image>
+<Url type="text/html" method="GET" template="https://rover.ebay.com/rover/1/1346-53482-19255-0/1" resultdomain="ebay.com">
+  <Param name="ff3" value="4"/>
+  <Param name="toolid" value="20004"/>
+  <Param name="campid" value="5338192028"/>
+  <Param name="customid" value=""/>
+  <Param name="mpre" value="https://www.ebay.com/sch/{searchTerms}" />
+</Url>
+<SearchForm>https://www.ebay.nl/</SearchForm>
+</SearchPlugin>
+
+
new file mode 100644
--- /dev/null
+++ b/browser/locales/searchplugins/ebay-uk.xml
@@ -0,0 +1,19 @@
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+   - License, v. 2.0. If a copy of the MPL was not distributed with this
+   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+
+<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
+<ShortName>eBay</ShortName>
+<Description>eBay - Online auctions</Description>
+<Image width="16" height="16">resource://search-plugins/images/ebay.ico</Image>
+<Url type="text/html" method="GET" template="https://rover.ebay.com/rover/1/710-53481-19255-0/1" resultdomain="ebay.com">
+  <Param name="ff3" value="4"/>
+  <Param name="toolid" value="20004"/>
+  <Param name="campid" value="5338192028"/>
+  <Param name="customid" value=""/>
+  <Param name="mpre" value="https://www.ebay.co.uk/sch/{searchTerms}" />
+</Url>
+<SearchForm>https://www.ebay.co.uk/</SearchForm>
+</SearchPlugin>
+
+
new file mode 100644
--- /dev/null
+++ b/browser/locales/searchplugins/ebay.xml
@@ -0,0 +1,17 @@
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+   - License, v. 2.0. If a copy of the MPL was not distributed with this
+   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+
+<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
+<ShortName>eBay</ShortName>
+<Description>eBay - Online auctions</Description>
+<Image width="16" height="16">resource://search-plugins/images/ebay.ico</Image>
+<Url type="text/html" method="GET" template="https://rover.ebay.com/rover/1/711-53200-19255-0/1" resultdomain="ebay.com">
+  <Param name="ff3" value="4"/>
+  <Param name="toolid" value="20004"/>
+  <Param name="campid" value="5338192028"/>
+  <Param name="customid" value=""/>
+  <Param name="mpre" value="https://www.ebay.com/sch/{searchTerms}" />
+</Url>
+<SearchForm>https://www.ebay.com/</SearchForm>
+</SearchPlugin>
new file mode 100644
index 0000000000000000000000000000000000000000..92d0d46e60c8eb3742277512594a6def0019d08d
GIT binary patch
literal 1128
zc$@)f1ef~&0096301yxW009690ILB2044wc03aX$009690G9#)0MP*e0EtjeM-2)Z
z3IG5A4M|8uQUCw|5C8xG5C{eU001BJ|6u?C0dh%1K~y-6m69=X6G0F~U(d9(5|r`U
zc+0Rvs2re#ghWLtRY<0kbEwdbd<S2`Hz0(9l5AYwlF{rm!N``^tc>|l_w=9Nzk3FD
zU_2gMp68b5xs666+r?`|S(Y}R&l{JDqIjCfbUL-!Y}QJiOeX&p84ia#NrS=QubR9)
zIk`K$34!n5zH+!%v<fV)esFyFhJM!H3iP0%y6QY{T-wv?MqWMeAm{Ht7=Sn9()aoF
z?h6auhZ^>?Uz~mXOqneR(QzYi+B=}a-3jQcPB#Ts)6)$9tN=Yo)lSCim!2{Mh*UW8
zo}l7!8z&lU6PXaqAcmCJ0r7!#fLb9$$6ACsK(t8QIM{l*4@)BEw6%O6?E<$8x^?pi
zR7FxiL`A?Uh=NZJ)Pwf`5p@o);Kbo#8bX&Lb@3LtV2!OVVB_5COO{tge+_kXtVFo}
zZB!VL8q1N>#>@WfzGzrH>MjwtrBqIuWAfl5{VyI};#2Sk%dUCo_ZIT;00000NkvXX
zu0mjfiBL{Q4GJ0x0000DNk~Le0000W0000W2nGNE0CReJ^Z)<?UP(kjR9J=Wma$UX
zKoEw%y*oK)T*OI+Ny3aWLqWPU>C#a70n$;ygwiw2(52EN<qh%-c?Rk*q#zCqSf|?*
zLbhWh%NQIQ{^oRZtKEP9+g%A(z;HO!?d@#^6wowH_3-deSMhZxWLc)YUT+fEd#~R6
z$=*4q$H&L(A+oo(Hwjdi?Ql3$=bQpM7z`ekM3!X=XuscYb)2SYBgvKFoU5{13NzQ#
z3e#qgWtoN$*x%n@Ha<s3M*tig9Nb@p-QC@#vzbHHDfh!nyWI)>e!uFFg^-<{okpV&
z0w*UY0Bmh-VXdVoipg4Geh+YZdP)d^G)?i|Hxpnrc^?d|MYwLb4UvTgm!`Y$d?UG}
z&O;?@Xdxg!K76db0;iFY^?ZK+m9ymKjn^A@;sEH{KYai6g|vIdIQ}c90mcH~IxjdE
zgKHq*($2G*;AKILtjG1<fZv1|Z%7m%7L37~-=v$4cU_1zX<Q4u@)j!=+fZsQ*Xcnb
zLas`VArYZK%B+ignti2&Iv_9(5Y=#1qjfGq$RmXqAfnbF#dNKdn!YeYMyrgW%y<Ec
zS=$Auf>!G-0=FFNjO;7G+4c@!Ya51Qafhv)K%(nZpswuakhjd3`w^IdHT7=(TMaaI
z!K2r}GFTgd#4I-(T+&b|j))ag&i%SUWGonmwUAhVh&6_50aujI4lT{3Ia7CD)PJv>
zDkE|<9|0X;ZWyT{78i^zlyik~oc*;B49c|_E`x9-imm--g1mK!#+pNe5)poOo;PqW
u@!J2wa$D{KgC%m&(uz-iL{9`BoxoqgO7D9`o)|;`0000<MNUMnLSTXdh59W3