Closed Bug 2073314 Opened 2 months ago Closed 2 months ago

ExperimentAPI.ready() may never resolve when Nimbus is disabled

Categories

(Firefox :: Nimbus Desktop Client, defect, P3)

Firefox 156
defect

Tracking

()

RESOLVED FIXED
159 Branch
Tracking Status
firefox159 --- fixed

People

(Reporter: any1here, Assigned: any1here)

Details

Attachments

(1 external file)

When Nimbus is disabled, ExperimentAPI.ready() never resolves and can stall startup paths indefinitely, such as about:newtab loading. https://searchfox.org/firefox-main/rev/e3285238626d45d2ec7ee8941fc1c49615730ba5/browser/modules/AboutNewTab.sys.mjs#201-202,220

Assignee: nobody → any1here
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Severity: -- → S3
Priority: -- → P3
Pushed by brennie@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/ac32bef27d4d https://hg.mozilla.org/integration/autoland/rev/6c2505def16d Resolve ExperimentAPI.ready() immediately when Nimbus is disabled r=nimbus-reviewers,beth
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 159 Branch

:any1here I'm curious, when you say "when nimbus is disabled" do you mean you have used the enterprise policy to disable Nimbus and Firefox Labs or have you done a custom build with e.g. MOZ_NORMANDY=0 ? Because afaict, in normal operation even if Nimbus is disabled, we will still always call ExperimentAPI.init() and thus ExperimentAPI.ready() should eventually resolve?

Flags: needinfo?(any1here)

(In reply to Beth Rennie [:beth] (she/her) from comment #4)

:any1here I'm curious, when you say "when nimbus is disabled" do you mean you have used the enterprise policy to disable Nimbus and Firefox Labs or have you done a custom build with e.g. MOZ_NORMANDY=0 ? Because afaict, in normal operation even if Nimbus is disabled, we will still always call ExperimentAPI.init() and thus ExperimentAPI.ready() should eventually resolve?

diff --git a/browser/moz.configure b/browser/moz.configure
index 8979a2e..70822ff 100644
--- a/browser/moz.configure
+++ b/browser/moz.configure
@@ -3,11 +3,11 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 imply_option("MOZ_PLACES", True)
-imply_option("MOZ_SERVICES_HEALTHREPORT", True)
+imply_option("MOZ_SERVICES_HEALTHREPORT", False)
 imply_option("MOZ_SERVICES_SYNC", True)
 imply_option("MOZ_DEDICATED_PROFILES", True)
 imply_option("MOZ_BLOCK_PROFILE_DOWNGRADE", True)
-imply_option("MOZ_NORMANDY", True)
+imply_option("MOZ_NORMANDY", False)
 imply_option("MOZ_PROFILE_MIGRATOR", True)

I thought having Nimbus disabled would also trigger it, but seems like my assumption was wrong.

Flags: needinfo?(any1here)
QA Whiteboard: [qa-triage-done-c160/b159]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: