Closed Bug 1677135 Opened 4 years ago Closed 3 years ago

Langpacks are being shutdown() with reason = undefined when quitting Firefox

Categories

(WebExtensions :: General, defect, P2)

defect

Tracking

(firefox85 fixed)

RESOLVED FIXED
85 Branch
Tracking Status
firefox85 --- fixed

People

(Reporter: daleharvey, Assigned: mixedpuppy)

References

Details

Attachments

(1 file)

I have a local build in which I install the en-GB langpack

Using this local build every time I shutdown Firefox using Nightly > Quit Nightly menu bar I can see the "intl:app-locales-changed" event being fired, it would seem this is because the langpack is being shutdown, I put a log statement in

https://searchfox.org/mozilla-central/source/toolkit/components/extensions/Extension.jsm#2876

and can see that shutdown is being called with reason = undefined

Curiously (possibly but not for sure related is that in the event handler we check for Services.startup.shuttingDown which is still reporting false for me at this point

https://searchfox.org/mozilla-central/source/toolkit/components/search/SearchService.jsm#2574

Blocks: 1628405, 1675624
Summary: Langpacks are being shutdown() when quitting Firefox → Langpacks are being shutdown() with reason = undefined when quitting Firefox

I'm part way on this though a little refactoring is going to be necessary.

Assignee: nobody → mixedpuppy
Severity: -- → S3
Priority: -- → P2

Bug 1305705 added the APP_SHUTDOWN check, however reason was never passed to this call, no test in the patch and QA verification passed on the bug, and it was uplifted.

:(

Blocks: 1305705
Pushed by scaraveo@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b3947f6228f3
fix APP_SHUTDOWN for langpacks r=rpl,zbraniecki
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: