зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
2017621c41
Коммит
0d4b60ef43
|
@ -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;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче