The "Focus Promo" message is wrongly displayed on the fist opened tab after it was dismissed
Categories
(Firefox :: Messaging System, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox99 | --- | unaffected |
firefox100 | --- | wontfix |
firefox101 | + | verified |
firefox102 | --- | verified |
People
(Reporter: mcoman, Assigned: mviar)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
[Notes]:
- This seems to be a tab preloading issue because the experiment message appears blocked on the "ASRouter" page right after it was dismissed.
[Affected versions]:
- Firefox Beta 100.0 - Build ID: 20220425210429
[Affected Platforms]:
- Windows 10 x64
- macOS 11.6.2
- Linux Mint 20.2 x64
[Prerequisites]:
- Have a Firefox en-* locale build installed.
- Have the "nimbus.debug" pref set to "true" in the "about:config" page.
[Steps to reproduce]:
- Open the browser using the profile from the prerequisites.
- Navigate to the "about:studies?optin_slug=firefox-focus-pbm-fx100&optin_branch=treatment&optin_collection=nimbus-preview" URL.
- Open a new "Private Window" and click the "X" button from the right part of the "Focus Promo" message.
- Open a new tab in the same "Private Window" and observe the behavior.
[Expected result]:
- The "Focus Promo" message is NOT displayed.
[Actual result]:
- The "Focus Promo" message is displayed.
[Additional Notes]:
- Attached a screen recording of the issue.
Comment 1•3 years ago
•
|
||
@mcoman This is preloading of a tab issue ( not replicable with browser.newtab.preload pref as false) and require code change to remove promo containers on preloaded tab by one of the option below
a) Check if message shown is blocked and remove promo container, similar to how capturing message impression are handled
https://searchfox.org/mozilla-central/source/browser/components/privatebrowsing/content/aboutPrivateBrowsing.js#195
b) Refresh page on dismiss click , this option though easier to implement might not be desirable user experience
I have updated FX100 Focus promo experiment QA ticket with this as known issue so that data analysis can account for this in telemetry while computing overall dismiss rate Thanks
Assignee | ||
Comment 2•3 years ago
|
||
Updated•3 years ago
|
Updated•3 years ago
|
Comment 3•3 years ago
|
||
[Tracking Requested - why for this release]:
This fix is needed with increased frequency cap as default in Fx101 about:privatebrowsing
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Comment 5•3 years ago
|
||
bugherder |
Assignee | ||
Comment 6•3 years ago
|
||
Assignee | ||
Comment 7•3 years ago
|
||
Comment on attachment 9275250 [details]
Bug 1766592 - BETA [Experiment] The "Focus Promo" experiment message is wrongly displayed on the fist opened tab after it was dismissed
Beta/Release Uplift Approval Request
- User impact if declined: Users who dismiss the Focus promo in a PBM tab will see it again when they open another PBM tab because that tab was prerendered,.
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: - Open a private browsing mode tab with a fresh user profile (you should see a Firefox Focus promo on page)
- Click the X to dismiss the promo
- Open a new private browsing mode tab (you should not see a Firefox Focus promo in the new tab)
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): The change only affects the visibility of PBM promos.
- String changes made/needed: n/a
- Is Android affected?: No
Assignee | ||
Updated•3 years ago
|
Comment 8•3 years ago
|
||
Comment on attachment 9275250 [details]
Bug 1766592 - BETA [Experiment] The "Focus Promo" experiment message is wrongly displayed on the fist opened tab after it was dismissed
Approved for 101.0b4.
Comment 9•3 years ago
|
||
bugherder uplift |
Updated•3 years ago
|
Comment 10•3 years ago
|
||
I‘ve verified that this issue is no longer reproducible using the latest Firefox Nightly 102.0a1 (Build ID: 20220508190220) and Firefox Beta 101.0b4 (Build ID: 20220508185621) on Windows 10 x64, macOS 12.3.1, and Ubuntu 20.04 x64.
- The “Focus Promo” message is no longer displayed in a new private tab after it was dismissed.
Description
•