Closed Bug 1689383 Opened 3 years ago Closed 3 years ago

The "Recommended by Pocket" section is no longer displayed on the latest Firefox Nightly for new profiles until a restart is made

Categories

(Firefox :: New Tab Page, defect)

Desktop
All
defect

Tracking

()

VERIFIED FIXED
87 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox84 --- unaffected
firefox85 --- unaffected
firefox86 --- unaffected
firefox87 --- verified

People

(Reporter: mcoman, Assigned: thecount)

References

(Regression)

Details

(Keywords: regression)

Attachments

(3 files)

Attached image ss of the issue.png

[Notes]:

  • This issue is reproducible only on new Firefox profiles.

[Affected versions]:

  • Firefox Nightly 87.0a1 - Build ID: 20210128094617

[Affected Platforms]:

  • Windows 10 x64
  • Mac 10.15
  • Linux Mint 20

[Prerequisites]:

  • Have a new Firefox profile with the "browser.search.region" pref set to "US" in the "about:config" page:

[Steps to reproduce]:

  1. Open the browser with the profile from prerequisites and open a "New Tab".
  2. Observed the displayed sections.

[Expected result]:

  • The following sections are displayed:
    • In-content Search Bar
    • Top Sites
    • Recommended by Pocket
    • Highlights

[Actual result]:

  • The "Recommended by Pocket" section is not displayed.

[Regression Window]:

From the pushlog it seems that Bug 1688220 has caused this behavior.

[Additional Notes]:

  • This issue is no longer reproducible after a browser restart.
  • Attached a screenshot of the issue.

@Dao, could you please take a look over this issue?

Flags: needinfo?(dao+bmo)
Attached image rec of the issue.gif

Attached a screen recording of the issue.

Summary: The "Recommended by Pocket" section is no longer displayed on the latest Firefox Nightly for new profiles → The "Recommended by Pocket" section is no longer displayed on the latest Firefox Nightly for new profiles until a restart is made

So it sounds like there might be some code using the old notification name, "browser-region". However, I don't see anything suspicious here: https://searchfox.org/mozilla-central/search?q=browser-region&case=true

Component: Search → Pocket
Flags: needinfo?(dao+bmo)

@thecount, could you please take a look at this?

Component: Pocket → New Tab Page
Flags: needinfo?(sdowne)

Looking

Flags: needinfo?(sdowne)

I think this is caused by or an issue with any code looking at or using Region.REGION_UPDATED, which seems it was removed.

https://searchfox.org/mozilla-central/search?q=Region.REGION_UPDATED&path=

I'll see if I can verify that with my code that moving to the new const fixes it, but based on that search link above, I think it's hitting a few areas, not just Pocket, and should probably have a patch fixing all the uses.

Assignee: nobody → sdowne

I have a fix, but I think it should be reviewed by either dale or dao? I'll add them as reviewers.

Pushed by sdowne@getpocket.com:
https://hg.mozilla.org/integration/autoland/rev/e7b773722d7b
Fixing usage of region updated const r=daleharvey
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch

I have verified that this issue is no longer reproducible with the latest Firefox Nightly (87.0a1 Build ID - 20210131211743) installed on Windows 10 x64, Windows 7 x64, and Windows 8.1 x32. Now, I can confirm that the "Recommended by Pocket" section is successfully displayed.

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

Attachment

General

Created:
Updated:
Size: