Closed Bug 2078619 Opened 1 month ago Closed 1 month ago

[Privacy Report] Weekly notification displays hardcoded tracker count ("48") regardless of actual blocked trackers

Categories

(Firefox for Android :: Experimentation and Telemetry, defect)

All
Android
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox159 --- verified

People

(Reporter: apetridean, Unassigned)

References

Details

Attachments

(2 files)

Steps to reproduce:

  1. Perform a clean install of Firefox.
  2. Complete onboarding and enable weekly Privacy Report notifications via Secret Settings.
  3. Browse websites to block 0 or 100+ trackers.
  4. Advance system time by 7 days to trigger the notification.

Expected result:

The notification displays the actual number of trackers blocked in the past week (e.g., "0 trackers blocked" or "102 trackers blocked").

Actual Result:

The notification body always displays "48 trackers blocked".

Device information

Firefox version: Nightly from 06.10.2026, Firefox 159.0a1
Android device model: Poco M4 Pro (Android 12

Thanks for the report, Adina.

The "48" is expected when the second secret setting is on. There are two Privacy Report switches under Secret Settings:

  1. "Enable Weekly Privacy Notification Feature" turns the feature on.
  2. "Force weekly privacy report notification trackers over threshold" is a testing aid. When it is on, the worker skips the real tracker lookup and uses a fixed count of 48 (the notification threshold of 47, plus one) so the notification can be triggered without browsing enough to cross the threshold.

Step 2 in the STR enables the feature, and the screenshot's "48" matches the forced value exactly, so I believe the force switch was also on during the test.

Could you re-run with only the first switch enabled? With the force switch off, the notification should show the real count for the past seven days, and it should not appear at all when fewer than 48 trackers were blocked (that threshold is intentional, so "0 trackers blocked" is not an expected notification).

I will look at renaming the force switch so it is clearer that it overrides the tracker count.

Flags: needinfo?(apetridean)

Thanks for the explanation Tom! I re-tested with only 'Enable Weekly Privacy Notification Feature' enabled (leaving the force switch off), and indeed, the fixed count of '48' no longer appears. Everything behaves as expected.

Since the behavior is expected with that testing flag on, should I go ahead and close this bug, or do you want to keep/retitle it to track renaming the force switch?

Flags: needinfo?(apetridean)
Flags: needinfo?(towhite)

Thanks Adina! Can we close this one off please and I'll add a new ticket for the label update

Flags: needinfo?(towhite) → needinfo?(apetridean)
Blocks: 2083766
Status: NEW → RESOLVED
Closed: 1 month ago
Flags: needinfo?(apetridean)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: