tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 019b9968c30ce766a200e5b87dfec3705eec954b
parent e04cde4661e40755a08d2d7565f50e5b4f84321b
Author: agoloman <agoloman@mozilla.com>
Date:   Fri,  3 Oct 2025 00:51:16 +0300

Revert "Bug 1987174 - Skip migrateEnrollmentsToSql when there are no experiments in the store r=nimbus-reviewers,relud" for causing xpc failures @test_RemoteSettingsExperimentLoader.js.

This reverts commit f3b37ed170dcee9413ede4ae67aaa159f6cbf1de.

Diffstat:
Mtoolkit/components/nimbus/lib/Migrations.sys.mjs | 6+-----
1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/toolkit/components/nimbus/lib/Migrations.sys.mjs b/toolkit/components/nimbus/lib/Migrations.sys.mjs @@ -124,11 +124,7 @@ async function migrateEnrollmentsToSql() { lazy.ExperimentAPI.manager.store._jsonFile.data ); - // If there are no enrollments we can skip the rest of the migration. - if (enrollments.length === 0) { - return; - } - + // Likewise, the set of all recipes is const { recipes } = await lazy.ExperimentAPI._rsLoader.getRecipesFromAllCollections({ trigger: "migration",