зеркало из https://github.com/mozilla/pjs.git
Bug 627332 - add-ons compatibility check always presents "Minefield is working offline" dialog when network link state detection is disabled. r=roc a=dolske
This commit is contained in:
Родитель
56038ffbad
Коммит
1db8bb34a8
|
@ -268,15 +268,15 @@ nsIOService::Init()
|
|||
#endif
|
||||
mNetworkLinkService = do_GetService(NS_NETWORK_LINK_SERVICE_CONTRACTID);
|
||||
|
||||
if (!mNetworkLinkService) {
|
||||
mManageOfflineStatus = PR_FALSE;
|
||||
if (!mNetworkLinkService)
|
||||
// We can't really determine if the machine has a usable network connection,
|
||||
// so let's cross our fingers!
|
||||
SetOffline(PR_FALSE);
|
||||
}
|
||||
mManageOfflineStatus = PR_FALSE;
|
||||
|
||||
if (mManageOfflineStatus)
|
||||
TrackNetworkLinkStatusForOffline();
|
||||
else
|
||||
SetOffline(PR_FALSE);
|
||||
|
||||
NS_TIME_FUNCTION_MARK("Set up network link service");
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче