Issue #2503 - Part 2b: Fix missing navigator in UpdateUtils.

This commit is contained in:
Moonchild 2024-04-14 21:57:48 +02:00 committed by roytam1
commit baf98e0dde

View file

@ -66,6 +66,7 @@ this.UpdateUtils = {
let custom = prefBranch.getCharPref(PREF_APP_UPDATE_CUSTOM, "");
let distribution = prefBranch.getCharPref(PREF_APP_DISTRIBUTION, "default");
let distributionVersion = prefBranch.getCharPref(PREF_APP_DISTRIBUTION_VERSION, "default");
let navigator = Services.appShell.hiddenDOMWindow.navigator;
let substs = [
[/%ID%/g, Services.appinfo.ID],