disable the code that gets the application name by initializing an http protocol handler before XPCOM is initalized. bug 99286 code=dp r=danm

This commit is contained in:
danm%netscape.com 2001-09-12 17:56:40 +00:00
Родитель 2017621c41
Коммит 0d4b60ef43
1 изменённых файлов: 6 добавлений и 0 удалений

Просмотреть файл

@ -925,6 +925,11 @@ nsNativeAppSupportWin::Start( PRBool *aResult ) {
PRBool serverMode = PR_FALSE;
GetIsServerMode( &serverMode );
#if 0
/* temporarily disabling to clear smoketest blocker 99286
don't create an http protocol handler service before XPCOM is initialized
(danm for dp) */
if ( !serverMode ) { // okay, so it's not -turbo
HKEY key;
LONG result = ::RegOpenKeyEx( HKEY_CURRENT_USER, "Software\\Microsoft\\Windows\\CurrentVersion\\Run", 0, KEY_QUERY_VALUE, &key );
@ -942,6 +947,7 @@ nsNativeAppSupportWin::Start( PRBool *aResult ) {
SetIsServerMode( PR_TRUE );
}
}
#endif
return rv;
}