From ea1b66eb0982bd47adb54786aee95768b90318b8 Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Sat, 30 Jan 2021 23:17:03 +0200 Subject: [PATCH] Add widgetCallbacks map to shared global object --- profile/chrome/utils/boot.jsm | 1 + 1 file changed, 1 insertion(+) diff --git a/profile/chrome/utils/boot.jsm b/profile/chrome/utils/boot.jsm index fe528a3..d34e515 100644 --- a/profile/chrome/utils/boot.jsm +++ b/profile/chrome/utils/boot.jsm @@ -39,6 +39,7 @@ const yPref = { }; const SHARED_GLOBAL = {}; +Object.defineProperty(SHARED_GLOBAL,"widgetCallbacks",{value:new Map()}); function resolveChromeURL(str){ const registry = Cc["@mozilla.org/chrome/chrome-registry;1"].getService(Ci.nsIChromeRegistry);