gecko-dev/toolkit
Drew Willcoxon 72261a2637 Bug 1801244 - Make Merino opt out on Beta. r=daisuke,nanj,RyanVM,chutten
This makes Merino opt out on Beta. There are two different parts:

1. Decide what "Beta" means. After discussing this with RyanVM, I'm using the
   same definition [used by telemetry](https://searchfox.org/mozilla-central/rev/2f47e3dacf0d773e9c7f363cecf10cfbea490679/toolkit/components/telemetry/app/TelemetryControllerBase.jsm#103,112-114): (a) if `MOZ_UPDATE_CHANNEL` is "beta"
   or (b) if it's "release" and `app.update.channel` is "beta". The latter case
   is true for RC builds delivered to the Beta channel. I moved the relevant
   telemetry logic to `AppConstants` so I can easily use it too. Bug 1435753 has
   context on this logic w/r/t telemetry.
2. Change the Merino default so it's enabled on Beta in the offline scenario. I
   kept the online scenario's disabled default since the only point of
   delivering the online scenario to the user now is to prompt them to opt in to
   Merino. This change is in UrlbarPrefs.sys.mjs.

The rest of the patch updates tests.

The effect of this patch will be to use a new default value of true for the
`quicksuggest.dataCollection.enabled` pref on Beta in the offline scenario. If
the user didn't touch the pref at all, then its previous default value was
false, and the new default will now be true.

If the user enabled the pref, it will remain enabled. If the user enabled and
then disabled it, it will remain disabled. That's because the pref is sticky, so
once it has a value on the user branch, it will keep that value. This patch only
changes the value of the pref on the default branch, so it won't override the
user's previous choice since that is set on the user branch.

Differential Revision: https://phabricator.services.mozilla.com/D162353
2022-11-22 06:19:24 +00:00
..
actors Bug 1779119 - Add video scrubber to PiP window. r=pip-reviewers,kpatenio,cmkm 2022-11-22 03:52:32 +00:00
components Bug 1801244 - Make Merino opt out on Beta. r=daisuke,nanj,RyanVM,chutten 2022-11-22 06:19:24 +00:00
content Backed out 2 changesets (bug 1685180) for causing Xpcshell failures at test_l10nCache.js. CLOSED TREE 2022-11-21 19:51:30 +02:00
crashreporter Bug 1796282 - Record the CPU microcode version of AMD CPUs correctly in crash reports r=cmartin 2022-11-21 22:08:57 +00:00
docs
library Bug 1755216 - Vendor in fluent-fallback@0.7.0; r=nordzilla 2022-11-17 16:00:17 +00:00
locales Bug 1793834 - part 9: add copy to clipboard button and styling and localize text r=Gijs,bigiri,fluent-reviewers,flod 2022-11-22 03:44:54 +00:00
modules Bug 1801244 - Make Merino opt out on Beta. r=daisuke,nanj,RyanVM,chutten 2022-11-22 06:19:24 +00:00
mozapps Backed out changeset f1d75a8cc689 (bug 1801211) for causing mochitest failures on browser_startup_mainthreadio.js CLOSED TREE 2022-11-21 15:03:04 -05:00
profile Bug 1769028: Disable DNS lookup in nsProfileLock when the proxy bypass protection is enabled r=mossop 2022-11-07 10:50:19 +00:00
system Bug 1797163: handle IAsyncOperations with callbacks and events instead of spinlocking r=nrishel 2022-11-21 21:48:21 +00:00
themes Bug 1779119 - Add video scrubber to PiP window. r=pip-reviewers,kpatenio,cmkm 2022-11-22 03:52:32 +00:00
xre Bug 1796282 - Record the CPU microcode version of AMD CPUs correctly in crash reports r=cmartin 2022-11-21 22:08:57 +00:00
.eslintrc.js
l10n-registry.manifest
moz.build Bug 1275849 - Part 2. Merge ProxyUtils for Windows and macOS. r=necko-reviewers,valentin 2022-11-08 09:19:09 +00:00
moz.configure Bug 1799338 - Fix build with --disable-backgroundtasks. r=glandium 2022-11-10 09:57:26 +00:00
toolkit.mozbuild Bug 1790912 - Migrate js/ductwork/debugger to devtools/platform. r=ochameau 2022-09-25 09:03:34 +00:00