browser.js (510B)
1 if (typeof getDefaultLocale === "undefined") { 2 var getDefaultLocale = SpecialPowers.Cu.getJSTestingFunctions().getDefaultLocale; 3 } 4 if (typeof setDefaultLocale === "undefined") { 5 var setDefaultLocale = SpecialPowers.Cu.getJSTestingFunctions().setDefaultLocale; 6 } 7 if (typeof getTimeZone === "undefined") { 8 var getTimeZone = SpecialPowers.Cu.getJSTestingFunctions().getTimeZone; 9 } 10 if (typeof setTimeZone === "undefined") { 11 var setTimeZone = SpecialPowers.Cu.getJSTestingFunctions().setTimeZone; 12 }