зеркало из https://github.com/mozilla/gecko-dev.git
Lets do the evil thing at start pre-loading libraries. This also restricts memory cache to 1/4 mb.
This commit is contained in:
Родитель
692a880ed3
Коммит
368222d869
|
@ -555,7 +555,7 @@ PRBool DoesProcessAlreadyExist() {return PR_FALSE;}
|
|||
*
|
||||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
||||
#ifdef WINCE
|
||||
// #define HACKY_PRE_LOAD_LIBRARY 1
|
||||
#define HACKY_PRE_LOAD_LIBRARY 1
|
||||
#endif
|
||||
|
||||
#ifdef HACKY_PRE_LOAD_LIBRARY
|
||||
|
|
|
@ -61,7 +61,7 @@ WriteConsoleLog()
|
|||
if (!file)
|
||||
return;
|
||||
|
||||
file->Append(NS_LITERAL_STRING("jsconsole.log"));
|
||||
file->Append(NS_LITERAL_STRING("jsconsole.txt"));
|
||||
|
||||
nsCOMPtr<nsILocalFile> lfile = do_QueryInterface(file);
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ pref("general.useragent.contentlocale", "chrome://minimo/locale/minimo.propertie
|
|||
pref("browser.cache.disk.enable", false);
|
||||
pref("browser.cache.disk.capacity", 0);
|
||||
pref("browser.cache.memory.enable", true);
|
||||
//pref("browser.cache.memory.capacity", -1);
|
||||
pref("browser.cache.memory.capacity", 256);
|
||||
// -1 = determine dynamically, 0 = none, n = memory capacity in kilobytes
|
||||
pref("browser.cache.disk_cache_ssl", false);
|
||||
// 0 = once-per-session, 1 = each-time, 2 = never, 3 = when-appropriate/automatically
|
||||
|
@ -767,3 +767,4 @@ pref("ssr.enabled", true);
|
|||
pref("ssr.site.enabled", true);
|
||||
|
||||
|
||||
pref("config.wince.dumpJSConsole", true);
|
||||
|
|
Загрузка…
Ссылка в новой задаче