From baf98e0ddec11de8f38270593146674fd76d0b93 Mon Sep 17 00:00:00 2001 From: Moonchild Date: Sun, 14 Apr 2024 21:57:48 +0200 Subject: [PATCH] Issue #2503 - Part 2b: Fix missing navigator in UpdateUtils. --- toolkit/modules/UpdateUtils.jsm | 1 + 1 file changed, 1 insertion(+) diff --git a/toolkit/modules/UpdateUtils.jsm b/toolkit/modules/UpdateUtils.jsm index 80cddfd369..31a9e933e0 100644 --- a/toolkit/modules/UpdateUtils.jsm +++ b/toolkit/modules/UpdateUtils.jsm @@ -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],