Closed Bug 1645016 Opened 5 years ago Closed 5 years ago

[Experiment] [Intermittent] The "Set Firefox to Default" snippet is wrongly displayed on the first opened tab after the "Set Firefox as Default" or the "Dismiss" buttons are clicked

Categories

(Firefox :: Messaging System, defect, P1)

Desktop
All
defect

Tracking

()

VERIFIED FIXED
87 Branch
Iteration:
80.1 - June 29 - July 12
Tracking Status
firefox77 --- wontfix
firefox78 --- wontfix
firefox79 --- wontfix
firefox87 --- verified

People

(Reporter: mcoman, Assigned: andreio)

References

Details

Attachments

(2 files)

Attached image rec of the issue.gif

[Notes]:

  • This issue seems to be intermittent since I have managed to reproduce it only on 3 Firefox profiles from a total of 5.

[Affected versions]:

  • Firefox Release 72.0 - Build ID: 20200103162918
  • Firefox Release 73.0.1 - Build ID: 20200217142647
  • Firefox Release 74.0 - Build ID: 20200309095159
  • Firefox Release 75.0 - Build ID: 20200403170909
  • Firefox Release 76.0 - Build ID: 20200429185419
  • Firefox Release 77.0.1 - Build ID: 20200602222727

[Affected Platforms]:

  • Windows 10 x64
  • macOS 10.15
  • Ubuntu 18.04 x64

[Prerequisites]:

[Steps to reproduce]:

  1. Open the browser with the profile from prerequisites.
  2. Open a new tab and click the "Set Firefox as Default" button from the snippet displayed under the in-content search bar.
  3. Open a new tab and observe the displayed sections .

[Expected result]:

  • The following sections are displayed:
    • "In-content Search Bar"
    • "Top Sites"
    • "Recommended by Pocket" (if available)
    • "Highlights"

[Actual result]:

  • The "Set Firefox to Default" snippet is still displayed under the in-content "Search Bar".

[Notes]:

  • The impression ping is also displayed in the "Browser Console" when the snippet is displayed for the second time.
  • This might be a preloading issue considering the fact that the snippet is displayed only on the first opened tab and the "Set Firefox to Default" snippets are blocked in the "about:newtab#devtools" page right after the "Set Firefox as Default" button is clicked.
  • This issue is also reproducible is the snippet is removed from the "Dismiss" button.
  • Attached a screen recording of the issue.

After further investigation, we observed that this issue is also reproducible if the snippet is removed from the "Dismiss" button. Considering this I am changing the issue's title to reflect this.

Summary: [Experiment] [Intermittent] The "Set Firefox to Default" snippet is wrongly displayed on the first opened tab after the "Set Firefox as Default" button is clicked → [Experiment] [Intermittent] The "Set Firefox to Default" snippet is wrongly displayed on the first opened tab after the "Set Firefox as Default" or the "Dismiss" buttons are clicked

Hi Giorgos can you help us look into this issue? I consider this a blocker for the experiment as we won't be respecting our user's wishes.

Flags: needinfo?(giorgos)

This is indeed not handled correctly.

Dismissing (i.e. blocking) a snippet or never displaying again after user takes action is something that's handled by Message Router and not by Snippets.

I defer to Andrei for more information.

Bug 1645370 seems related

Flags: needinfo?(giorgos) → needinfo?(andrei.br92)
See Also: → 1645370
Component: Shield Study → Messaging System
Product: Shield → Firefox
Assignee: nobody → andrei.br92
Iteration: --- → 79.2 - June 15 - June 28
Flags: needinfo?(andrei.br92)
Priority: -- → P1
Iteration: 79.2 - June 15 - June 28 → 80.1 - June 29 - July 12

:andreio are you working on this, or should the priority/severity be revised?

Flags: needinfo?(andrei.br92)

This ended up not getting fixed because it was an experiment in release and we couldn't change much there.
I'll update the patch and get it reviewed.

Flags: needinfo?(andrei.br92)
Pushed by aoprea@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2d3ba442aee4 Clear preloaded about:newtab from blocked snippets r=k88hudson
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch

This issue was related to a past experiment that is no longer live. Considering this I am marking the issue as Verified.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: