This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch upstream/28.4.0 in repository pale-moon. commit d6a2deb0c532504bf36d30755460b2486e9473a1 Author: wolfbeast <mcwerewolf@wolfbeast.com> Date: Mon Jan 28 15:33:57 2019 +0100 Add nullcheck for addons (pre-installed webextensions return null) Tag #937. --- application/basilisk/components/nsBrowserGlue.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/basilisk/components/nsBrowserGlue.js b/application/basilisk/components/nsBrowserGlue.js index 3258159..c2e2153 100644 --- a/application/basilisk/components/nsBrowserGlue.js +++ b/application/basilisk/components/nsBrowserGlue.js @@ -1110,10 +1110,10 @@ BrowserGlue.prototype = { let disabledAddons = AddonManager.getStartupChanges(AddonManager.STARTUP_CHANGE_DISABLED); AddonManager.getAddonsByIDs(disabledAddons, (addons) => { for (let addon of addons) { - if (addon.type == "experiment") + if (addon && addon.type == "experiment") continue; - if (addon.signedState <= AddonManager.SIGNEDSTATE_MISSING) { + if (addon && addon.signedState <= AddonManager.SIGNEDSTATE_MISSING) { this._notifyUnsignedAddonsDisabled(); break; } -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/pale-moon.git