Bug 1781464 - Add ESR-only taggedCode for Bing - r=Standard8 a=test-only
authorJames Teow <jteow@mozilla.com>
Tue, 23 Aug 2022 13:01:06 +0000
changeset 657874 d9219ebbc1ad7c2d5a2cbc7faac676e20109494a
parent 657873 dfb846521c638413646d680ed38053c7f27940ba
child 657875 0c623158a292a325235d1666e27b44fef471692b
push id310
push userryanvm@gmail.com
push dateTue, 23 Aug 2022 14:04:56 +0000
treeherdermozilla-esr91@d9219ebbc1ad [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersStandard8, test-only
bugs1781464
milestone91.13.1esr
Bug 1781464 - Add ESR-only taggedCode for Bing - r=Standard8 a=test-only Differential Revision: https://phabricator.services.mozilla.com/D152816
toolkit/components/search/tests/xpcshell/searchconfigs/test_bing.js
--- a/toolkit/components/search/tests/xpcshell/searchconfigs/test_bing.js
+++ b/toolkit/components/search/tests/xpcshell/searchconfigs/test_bing.js
@@ -91,25 +91,25 @@ const test = new SearchConfigTest({
         },
       },
     ],
   },
   details: [
     {
       included: [{}],
       domain: "bing.com",
-      telemetryId: "bing",
+      telemetryId: AppConstants.IS_ESR ? "bing-esr" : "bing",
       codes: {
         searchbar: "form=MOZSBR",
         keyword: "form=MOZLBR",
         contextmenu: "form=MOZCON",
         homepage: "form=MOZSPG",
         newtab: "form=MOZTSB",
       },
-      searchUrlCode: "pc=MOZI",
+      searchUrlCode: AppConstants.IS_ESR ? "pc=MOZR" : "pc=MOZI",
       searchFormUrlCode: "pc=MOZI",
     },
   ],
 });
 
 add_task(async function setup() {
   await test.setup();
 });