It's possible for a "new user" to see a what's new page followed by a moments page on the next restart
Categories
(Firefox :: Messaging System, defect, P3)
Tracking
()
People
(Reporter: dmosedale, Unassigned, NeedInfo)
References
(Blocks 2 open bugs)
Details
- Get 117.0.1 https://support.mozilla.org/en-US/kb/install-older-version-firefox
- Use it to create a new profile using about:profiles
- Copy in user.js with test id for natural enrollment in the new user experiment
- Quit
- Start with the new profile
- "Check for updates" to get 118 downloaded, but DO NOT RESTART
- Check
about:studies
to see that natural enrollment has occurred - Search
about:config
for 'startup', make surebrowser.startup.homepage_override.once
pref does NOT EXIST or is NOT SET - Restart
- Make sure 118 WNP seen
- Search
about:config
for 'startup', make sure thebrowser.startup.homepage_override.once
pref EXISTS and IS SET to the WNP homepage - Restart
- Check that Moments page is seen
Broadly, we'd like to figure out how much of an edge case this is. To help with that, some open questions that would help us assess that include
- this should presumably affect 118 to 119 updates as well. Does it?
- do the "search about:config steps" ever fail to return what's written above? If/when they do, does it affect what gets shown after the next restart?
- current hypothesis is that if the browser stays open for 5 minutes after step 7, and then one reloads
about:config
, that pref should then be set. Is this correct?
Reporter | ||
Comment 1•1 year ago
•
|
||
Open question 4:
- Because these experiments are not sticky, if the test in comment 0 is timed in such a way that the user starts with a 27-day-old profile (or so
times.json
says) and a system clock that's a small number of minutes before midnight, and the user gets unenrolled from the new users experiment and then enrolled into the existing users experiment, can we confirm that the message blocking prevents the message from being shown twice? It should...
Note that these open questions are in order of importance. Which is to say that 4 feels likely to be extra edge-casey, so I'm not very concerned about it. But if, say, :aminomancer were to tell me that I'm wrong, or that I hadn't thought of some variant that is less edge-casey, now would be a good time to hear that. So I'm going to needinfo him... :-)
Reporter | ||
Updated•1 year ago
|
Reporter | ||
Comment 2•1 year ago
|
||
QA looked into this last night, and wrote:
I have tested the scenario from the description and I can confirm that only the WNP page is displayed after a browser even if the “MOMENTS_PAGE_SET event” was sent before updating the browser. The VPN Moments page will be displayed at the next browser restart after that.
1. this should presumably affect 118 to 119 updates as well. Does it?
The same scenario as above applies when updating from Firefox Beta 118.0b9 to Firefox Beta 119.0 (used force enroll for this scenario).
- do the "search about:config steps" ever fail to return what's written above? If/when they do, does it affect what gets shown after the next restart?
- current hypothesis is that if the browser stays open for 5 minutes after step 7, and then one reloads about:config, that pref should then be set. Is this correct?
Regarding the “browser.startup.homepage_override.once” pref. For the vast majority of times when we have verified this scenario, the pref was set immediately after the browser was enrolled in the experiment. However, we have not observed any difference between the times when the pref was set immediately after enrollment and the times when it was set after approximately 5 minutes. The WNP was always triggered first and the VPN Moments page after the following browser restart.
- Because these experiments are not sticky, if the test in comment 0 is timed in such a way that the user starts with a 27-day-old profile (or so times.json says) and a system clock that's a small number of minutes before midnight, and the user gets unenrolled from the new users experiment and then enrolled into the existing users experiment, can we confirm that the message blocking prevents the message from being shown twice? It should...
We have also tested the scenario where the targeting of the “New Users” experiment is invalidated, the client is unenrolled from it, and enrolled in the “Existing Users” one. In this case, we can confirm that the VPN Moments page is only triggered once generally during the New Users experiment.
We have tested the above scenarios using Firefox Release 117.0.1 (Build ID - 20230912013654), the latest Firefox Release 118.0.2 (Build ID - 20231009140911), and Firefox Beta 118.0b9 (Build ID - 20230914180032) installed on Windows 10 x64 and macOS 13.5.1.
I hope this will help. Also, if you have any other questions or do you want us to cover any additional scenarios, please don’t hesitate to ping me.
Updated•1 year ago
|
Comment 3•1 year ago
|
||
The severity field is not set for this bug.
:lsmith, could you have a look please?
For more information, please visit BugBot documentation.
Updated•1 year ago
|
Updated•11 months ago
|
Updated•10 months ago
|
Updated•10 months ago
|
Updated•10 months ago
|
Updated•9 months ago
|
Updated•9 months ago
|
Comment 4•9 months ago
|
||
NI Hanna since you have more context about the WNP.
Updated•9 months ago
|
Reporter | ||
Updated•8 months ago
|
Updated•8 months ago
|
Updated•8 months ago
|
Description
•