Closed Bug 1687592 Opened 4 years ago Closed 3 years ago

L10nMutations::StartRefreshObserver() should not register itself on a refresh driver without a prescontext

Categories

(Core :: Internationalization: Localization, defect, P2)

defect

Tracking

()

RESOLVED FIXED
96 Branch
Tracking Status
firefox86 --- wontfix
firefox96 --- fixed

People

(Reporter: mstange, Assigned: zbraniecki)

References

Details

Attachments

(1 file)

The crash stacks from bug 1684788 indicate that there are cases where L10nMutations::StartRefreshObserver() can attempt to register itself as a refresh driver, on a refresh driver which does not have a prescontext.

Mats said:

It feels wrong to add an observer on a RefreshDriver that's been detached from its PresContext - presumably because we're in the process of destroying it?

Thank you for reporting that!

Severity: -- → S3
Component: Internationalization → Internationalization: Localization
Priority: -- → P2
Assignee: nobody → zbraniecki
Status: NEW → ASSIGNED
Pushed by zbraniecki@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/72ff13b5fc7e Don't cache mRefreshDriver between L10nMutation observer calls. r=nordzilla,mstange
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: