Bug 1339643 - Add English Yandex search engine to en-US/GB for testing. r=flod
authorMichael Kaply <mozilla@kaply.com>
Fri, 17 Feb 2017 14:13:26 -0600
changeset 373106 da0e8a7ad0e65882b61fc1c80f79bee40ee3a6a6
parent 373105 45f5b39bd3c1011308d23dfd86c5df4ed1a1383d
child 373107 3ebff6b4a913d8642b22adb54275dd2a6b2708fb
push id10863
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 23:02:23 +0000
treeherdermozilla-aurora@0931190cd725 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersflod
bugs1339643
milestone54.0a1
Bug 1339643 - Add English Yandex search engine to en-US/GB for testing. r=flod MozReview-Commit-ID: LGokLUsKb85
browser/locales/jar.mn
browser/locales/search/list.json
browser/locales/searchplugins/images/yandex-en.ico
browser/locales/searchplugins/yandex-en.xml
--- a/browser/locales/jar.mn
+++ b/browser/locales/jar.mn
@@ -89,16 +89,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/wikipedia.ico  (searchplugins/images/wikipedia.ico)
+    locale/browser/searchplugins/images/yandex-en.ico  (searchplugins/images/yandex-en.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)
     locale/browser/appstrings.properties       (%chrome/overrides/appstrings.properties)
     locale/browser/downloads/settingsChange.dtd  (%chrome/overrides/settingsChange.dtd)
 % override chrome://global/locale/netError.dtd chrome://browser/locale/netError.dtd
 % override chrome://global/locale/appstrings.properties chrome://browser/locale/appstrings.properties
--- a/browser/locales/search/list.json
+++ b/browser/locales/search/list.json
@@ -40,17 +40,17 @@
     "en-US": {
       "default": {
         "visibleDefaultEngines": [
           "google", "yahoo", "amazondotcom", "bing", "ddg", "twitter", "wikipedia"
         ]
       },
       "experimental-hidden": {
         "visibleDefaultEngines": [
-          "yahoo-en-CA"
+          "yahoo-en-CA", "yandex-en"
         ]
       }
     },
     "ach": {
       "default": {
         "visibleDefaultEngines": [
           "google", "yahoo", "bing", "amazondotcom", "ddg", "twitter", "wikipedia"
         ]
@@ -189,16 +189,21 @@
         ]
       }
     },
     "en-GB": {
       "default": {
         "visibleDefaultEngines": [
           "google", "yahoo-en-GB", "bing", "amazon-en-GB", "chambers-en-GB", "ddg", "twitter", "wikipedia"
         ]
+      },
+      "experimental-hidden": {
+        "visibleDefaultEngines": [
+          "yandex-en"
+        ]
       }
     },
     "en-ZA": {
       "default": {
         "visibleDefaultEngines": [
           "google", "bing", "amazondotcom", "ddg", "twitter", "wikipedia"
         ]
       }
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..6398f30e9df15714b3c5007977ecd2b9b0032852
GIT binary patch
literal 1691
zc$@*724wjF0096303aX$0096X0A&OK044wc01yxW0096X01yHI0E+|w0EtjeM-2)Z
z3IG5A4M|8uQUCw|AOHXWAP5Ek0047(dh`GQ1T0BJK~z|UwU=K^TXhu2KesI)&;lB$
z(>Xvg0jJr_GGq#S(3ctKlVNB`qo}YYE=wi`Lc)Uy8HR)o{L4gOLu4-5B9ZvOi$1sq
z9b`rlW0r|44yvqd;09P|p*=p_+tNaBX|X#u=jEPrf8X={p7Z<Ndlgi(01pA_fPuu?
z@4$jy&<L1;LLdcD5)2NI49rGLC<68k4-YpkFE7tX;>_RD(ozNNLseMU_5vkduXiqi
z;36X8a=Cs0N`PWLa06-^NJ=u@55iV`>HF_+<Qs70D@+v@0)o|=eW10q^>Iysh$<LR
z`>u$<|MB^*&$VK}Qd_ItSCs1N>LVJ)_NWD{4@{SrGqrOk&Y~i`V`IAg1Mtnv;2s@P
z7gQ`*YHETptJPZ8*4Fj}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G01yZU
z0000V^Z#K000GxYL_t(Ijg6AAPg7A8#((bxjYcek5rQ#kH&GhnVr+~tF-A8Q7XJVS
zhO$GPstaRDyFfxjLuAm+e?cQLQE?Pfprlg!T3bYlvF*F}bEvO*mPYw*zTup6@9&(P
zTn9J@Tm<?!o;HAkaN=66R$J3CR4$j_0++gp*Cnfexp?os3h}rkt86wq0h|p3Zdhw&
zt<{%ALZ$I>1+leO&0J2KQAhg=3$oVA^SpP!<uD*&jgd7*`}6bKj5=zpuPew^XJ(X-
z4a?N)om?i9nFJyM;HELYjPd0k)|HP9t1>m!jvK#}j}58%_>qD;#`y9)?>#UY0B-qy
zOMz>%v)YQDQS1Aje!P64t>|erOJ5bf<NGb8)9EBI0C2n2YASH!TSeQk0oCTxDvpiG
zo0w3z9(Z@Rum)W116)a+g*cH2{SPKNm`h_+Vd&K=;d&rz0dQTwMI!9}WD+BfQ=@k{
zF)~7T9f_5d<!8XokqH3Y!9iT-Jbj~AdUh{)-lys5hp&OXo`8--Pr%aB(`8^A+W+4b
zy#e}j{_0*VeN3fNZ-80=aOgRK+g?#uZSl$Cb08Pa-7W0oKmR<e>wnH|Y<vI`;l~be
l0f+-9doSXMR)J~|{03;Py=C@Zxi$a*002ovPDHLkV1kK%5B>lE
new file mode 100644
--- /dev/null
+++ b/browser/locales/searchplugins/yandex-en.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>Yandex</ShortName>
+<Description>Use Yandex to search the Internet.</Description>
+<InputEncoding>UTF-8</InputEncoding>
+<Image width="16" height="16">resource://search-plugins/images/yandex-en.ico</Image>
+<Url type="application/x-suggestions+json" method="GET" template="https://suggest.yandex.com/suggest-ff.cgi">
+  <Param name="part" value="{searchTerms}"/>
+</Url>
+<Url type="text/html" method="GET" template="https://www.yandex.com/search">
+  <Param name="text" value="{searchTerms}"/>
+</Url>
+<SearchForm>https://www.yandex.com/</SearchForm>
+</SearchPlugin>