Bug 961777 - Disable reuseGlobal on Mulet. r=bholley

This commit is contained in:
Alexandre Poirot 2014-05-05 06:53:00 -04:00
parent ff1c579c41
commit d975eff099
2 changed files with 6 additions and 1 deletions

View File

@ -755,7 +755,11 @@ pref("network.activity.blipIntervalMilliseconds", 250);
// can be flipped to false.
pref("network.gonk.manage-offline-status", true);
// On Firefox Mulet, we can't enable shared JSM scope
// as it breaks most Firefox JSMs (see bug 961777)
#ifndef MOZ_MULET
pref("jsloader.reuseGlobal", true);
#endif
// Enable font inflation for browser tab content.
pref("font.size.inflation.minTwips", 120);

View File

@ -351,7 +351,8 @@ mozJSComponentLoader::ReallyInit()
// XXXkhuey B2G child processes have some sort of preferences race that
// results in getting the wrong value.
#ifdef MOZ_B2G
// But we don't want that on Firefox Mulet as it break most Firefox JSMs...
#if defined(MOZ_B2G) && !defined(MOZ_MULET)
mReuseLoaderGlobal = true;
#endif