Open Bug 1955028 Opened 1 month ago Updated 5 days ago

(Intermittent) Alt frecency recalculation is sometimes not triggered in the expected time window

Categories

(Toolkit :: Places, defect)

defect

Tracking

()

Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox136 --- disabled
firefox137 --- disabled
firefox138 --- affected

People

(Reporter: aflorinescu, Assigned: jteow, NeedInfo)

References

(Blocks 1 open bug)

Details

Found in

  • 138.0a1 (2025-03-18)

Affected versions

  • 138.0a1

Tested platforms

  • Affected platforms: Windows 10, Mac 11, Ubuntu 22.04

Preconditions

  • set places.frecency.pages.alternative.featureGate to true
  • set browser.places.interactions.viewer.enabled to true for debug purposes
  • Restart Browser

Steps to reproduce

  1. Navigate to any website and keep it in the foreground for 60 seconds.
  2. Open query page and on the "Frecency" section inspect the 'recalc alt frecency' column for the opened site. (should be 1 at this point)
  3. Close the open website to avoid backround recalculation, do not open any new tab, leve the query page open.
  4. Idle the browser for 5' +
  5. Verify the query page and on the "Frecency" section inspect the 'recalc alt frecency' column for the opened site.

Expected result

  • recalc alt frecency is set to 0 and alt frecency is recalculated

Actual result

  • In some cases, the recalc alt frecency is not set to 0, remains on 1, not being recalculated. Pretty intermittent, reproduced it more often on mac/ubuntu than on windows.

Additional Notes

The severity field is not set for this bug.
:mak, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(mak)

I'll investigate this.

Assignee: nobody → jteow
Flags: needinfo?(mak) → needinfo?(jteow)

I've been able to reproduce this, I need to determine the reason.

You need to log in before you can comment on or make changes to this bug.