Closed Bug 1826933 Opened 2 years ago Closed 6 months ago

Avoid memory leaks in NotificationsDelegate

Categories

(Fenix :: General, enhancement, P3)

All
Android
enhancement

Tracking

(firefox115 wontfix, firefox116 wontfix, firefox117 wontfix, firefox118 wontfix, firefox119 affected)

RESOLVED WONTFIX
Tracking Status
firefox115 --- wontfix
firefox116 --- wontfix
firefox117 --- wontfix
firefox118 --- wontfix
firefox119 --- affected

People

(Reporter: mcarare, Assigned: mcarare)

References

Details

Attachments

(1 file)

As a follow-up to https://bugzilla.mozilla.org/show_bug.cgi?id=1796348, we should investigate the implications of keeping references to activities in a 'NotificationsDelegate'.

Priority: P2 → P3
Status: NEW → RESOLVED
Closed: 1 year ago
Flags: qe-verify+
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch

Verified on the latest Nightly 117.0a1 (2023-07-21).
I didn't find any issue regarding notifications. Compared the latest Nightly build with the latest Beta and Chrome browsers.
Device used: Oppo Find X5 (Android 13).
Marking the ticket as verified.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
Regressions: 1851594
Status: VERIFIED → RESOLVED
Closed: 1 year ago1 year ago
Flags: qe-verify+
Target Milestone: 117 Branch → 119 Branch

Since nightly and release are affected, beta will likely be affected too.
For more information, please visit BugBot documentation.

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: 119 Branch → ---
Flags: qe-verify+

Authored by https://github.com/mcarare
https://github.com/mozilla-mobile/firefox-android/commit/ab6bcc65b2b612f6234b9cdf48613a7ac19ff1d5
[releases_v117] Revert "Bug 1826933 - Add tests for NotificationsDelegate."

Authored by https://github.com/mcarare
https://github.com/mozilla-mobile/firefox-android/commit/f86c9084d99bf23685a2fe582e346cb15751d883
[releases_v117] Revert "Bug 1826933 - Use WeakHashMap and WeakReference for activity and launcher."

Status: REOPENED → RESOLVED
Closed: 1 year ago1 year ago
Flags: qe-verify+
Resolution: --- → FIXED
Status: RESOLVED → REOPENED
Flags: qe-verify+
Resolution: FIXED → ---

No memory leaks were reported, so this seems like an over engineering task.

Status: REOPENED → RESOLVED
Closed: 1 year ago6 months ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: