Closed Bug 1713269 Opened 3 years ago Closed 3 years ago

[Experiment] The "Import from previous browser" label is wrongly displayed on the "about:welcome" page's "Import" screen even if the browser attribution code is set to "chrome"

Categories

(Firefox :: Messaging System, defect, P1)

Desktop
Windows
defect

Tracking

()

RESOLVED WONTFIX
Iteration:
91.1 - May 31 - Jun 13
Tracking Status
firefox88 --- unaffected
firefox89 --- affected
firefox90 --- unaffected

People

(Reporter: mcoman, Assigned: pdahiya)

References

Details

Attachments

(1 file)

Attached image rec of the issue.gif

[Affected versions]:

  • Firefox Beta 89.0 - Build ID: 20210520185752

[Affected Platforms]:

  • Windows 10 x64

[Prerequisites]:

  • Have the "user.js" from here saved to your PC.
  • Have the Chrome browser installed.

[Steps to reproduce]:

  1. Open the Chrome browser and navigate to "https://www.mozilla.org/en-US/firefox/channel/desktop/".
  2. Download and install the latest Firefox beta.
  3. Create a new Firefox profile but do not open it.
  4. Go to the previously created profile folder and paste the "user.js" file from the prerequisites.
  5. Open the Firefox browser using the recently created profile using the --first-startup argument.
  6. Click the "Now now" button.
  7. Observe the primary button's label.

[Expected result]:

  • The "Import from Google Chrome" label is displayed.

[Actual result]:

  • The "Import from previous browser" label is displayed instead.

[Additional Notes]:

  • This issue is also reproducible is the Firefox browser was downloaded using the "Edge" browser.
  • If the "Import from previous browser" button is clicked the first option from the "Import Wizzard" is selected by default (in our case Microsoft Edge).
  • This issue is not reproducible if the profile is not enrolled in the experiment.
  • Attached a screen recording of the issue.

Looks like we only add ua when it's not an experiment?

https://hg.mozilla.org/releases/mozilla-beta/file/FIREFOX_RELEASE_89_BASE/browser/components/newtab/aboutwelcome/AboutWelcomeChild.jsm#l234

mcoman, if you set messaging-system.log to "all" I would guess it logs "Loading about:welcome with experiment" and not "Loading about:welcome with default data and UA attribution" ?

Flags: needinfo?(mcoman)

This should be fixed in 90 but wasn't approved for uplift bug 1711700 comment 15.

Depends on: 1711700

Hi Ed, I can confirm that the "AboutWelcomeChild: Loading about:welcome with experiment: multistage-aboutwelcome-mr1-design" message is displayed in the Browser Console if the messaging-system.log pref is set to all and we navigate to the "about:welcome" page.

Flags: needinfo?(mcoman)
Assignee: nobody → pdahiya
Iteration: --- → 91.1 - May 31 - Jun 13
Priority: -- → P1

Debugged this is the expected flow for control and treatment branch. In Fx89 , attribution user agent is only set for non-experiment flow as a result in an experiment primary label of import screen always display no attribution label 'Import from previous browser' for control-89 and 'Start Import' for treatment-88

https://searchfox.org/mozilla-release/source/browser/components/newtab/aboutwelcome/AboutWelcomeChild.jsm#235

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: