Add widgetCallbacks map to shared global object

This commit is contained in:
MrOtherGuy 2021-01-30 23:17:03 +02:00
parent 6a71a19064
commit ea1b66eb09

View file

@ -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);