Closed Bug 1802134 Opened 1 year ago Closed 1 year ago

[Experiment] The users can be enrolled in the “Onboarding Welcome Video Experiment” even if they prefer reduced motion

Categories

(Firefox :: Messaging System, defect, P1)

Desktop
Windows
defect

Tracking

()

VERIFIED FIXED
109 Branch
Iteration:
109.2 - Nov 28 - Dec 9
Tracking Status
firefox107 --- unaffected
firefox108 --- wontfix
firefox109 --- verified

People

(Reporter: srosu, Assigned: halemu)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

[Affected versions]:

  • Firefox Beta 108.0b5 - Build ID: 20221122190120

[Affected Platforms]:

  • Windows 10 x64
  • Windows 11 x64

[Prerequisites]:

  • Have the Firefox Beta 108.0b5 browser installed.
  • Have this user.js saved on your computer.
  • Have the “Show animations on Windows” set to Off in OS settings.

[Steps to reproduce]:

  1. Open the browser using the -p --first-startup and create a new profile.
  2. Copy and paste the user.js file from prerequisites on the Profile Folder.
  3. Open the Firefox profile from prerequisites.
  4. Navigate to the “about:studies” page.
  5. Observe the listed studies.

[Expected result]:

  • The “Onboarding Welcome Video Experiment” experiment is not displayed on the “about:studies” page.

[Actual result]:

  • The “Onboarding Welcome Video Experiment” experiment is displayed on the “about:studies” page.

[Notes]:

  • The “userPrefersReducedMotion” is recognized as true in the ASRouter devtool.
  • Attached is a screen recording of the issue.

Should not be a blocker for Fx108 but will be good to investigate and fix for Fx109 experiment autoplay true treatment branch

Iteration: --- → 109.2 - Nov 28 - Dec 9
Priority: -- → P1
Assignee: nobody → halemu

Thanks, we had some trouble enrolling to the experiment because the sampling id provided in the repro steps was not working, but using the id 'a0' we were able to enroll.This was the output:

RSLoader: Testing targeting expression: (browserSettings.update.channel == "beta") && ((experiment.slug in activeExperiments) || (((isFirstStartup && !('trailhead.firstrun.didSeeAboutWelcome'|preferenceValue)) && os.windowsBuildNumber >= 18362 && (currentDate|date - profileAgeCreated|date) / 3600000 <= 24 && !isDefaultBrowser && !userPrefersReducedMotion) && (version|versionCompare('108.!') >= 0) && (locale in ['en-CA', 'en-GB', 'en-US']))) RemoteSettingsExperimentLoader.jsm:183

RSLoader: [experiment] onboarding-welcome-video-experiment matched RemoteSettingsExperimentLoader.jsm:356
ExperimentManager: Client was not enrolled because of the bucket sampling ExperimentManager.jsm:176

The issue was that in first startup, targeting was being evaluated before the browser was available. userPrefersReducedMotion was undefined. I've addressed the issue in the patch.

Pushed by halemu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/08b706510522
[Experiment] The users can be enrolled in the “Onboarding Welcome Video Experiment” even if they prefer reduced motion r=mviar
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch

I‘ve verified this issue using the latest Firefox Nightly 109.0a1 (Build ID: 20221208094253) on Windows 10 x64, and Windows 11 x64.

  • The users cannot be enrolled in the “Onboarding Welcome Video” experiment if they prefer reduced motion.
Status: RESOLVED → VERIFIED

The patch landed in nightly and beta is affected.
:halemu, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox108 to wontfix.

For more information, please visit auto_nag documentation.

Flags: needinfo?(halemu)
Flags: needinfo?(halemu)

We don't need to uplift it to 108, thanks!

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: