Bug 1641254 - Add another prefix to the Search Telemetry provider info list. r=daleharvey
authorMark Banner <standard8@mozilla.com>
Wed, 27 May 2020 16:22:09 +0000
changeset 532558 a453b998c4f2fced09f98a372dbe97aff1b50499
parent 532557 c4df478fe80c9184f082c05a2ebb37e37d5f2989
child 532559 2a44daf61d7f452aaf55f47c2962f8c2ed625704
push id37456
push userrmaries@mozilla.com
push dateThu, 28 May 2020 03:25:13 +0000
treeherdermozilla-central@cfa4bd8e6f78 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdaleharvey
bugs1641254
milestone78.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1641254 - Add another prefix to the Search Telemetry provider info list. r=daleharvey Differential Revision: https://phabricator.services.mozilla.com/D77087
browser/components/search/SearchTelemetry.jsm
--- a/browser/components/search/SearchTelemetry.jsm
+++ b/browser/components/search/SearchTelemetry.jsm
@@ -70,17 +70,17 @@ const SEARCH_PROVIDER_INFO = {
     extraAdServersRegexps: [
       /^https:\/\/www\.google(?:adservices)?\.com\/(?:pagead\/)?aclk/,
     ],
   },
   duckduckgo: {
     regexp: /^https:\/\/duckduckgo\.com\//,
     queryParam: "q",
     codeParam: "t",
-    codePrefixes: ["ff"],
+    codePrefixes: ["ff", "newext"],
     extraAdServersRegexps: [
       /^https:\/\/duckduckgo.com\/y\.js/,
       /^https:\/\/www\.amazon\.(?:[a-z.]{2,24}).*(?:tag=duckduckgo-)/,
     ],
   },
   yahoo: {
     regexp: /^https:\/\/(?:.*)search\.yahoo\.com\/search/,
     queryParam: "p",