Bug 1134596 - SetOffline(false) in nsIOService::Init r=honzab
authorValentin Gosu <valentin.gosu@gmail.com>
Fri, 03 Apr 2015 16:23:18 +0300
changeset 273475 d2a6230fee214ad5f23c1b9474ab96875865642a
parent 273474 bacbc07f3ad74573999ae392bb2bbc6adc365904
child 273476 c7b25a8722359af4b8f1d29ddc522f7900c5d969
push id863
push userraliiev@mozilla.com
push dateMon, 03 Aug 2015 13:22:43 +0000
treeherdermozilla-release@f6321b14228d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewershonzab
bugs1134596
milestone40.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1134596 - SetOffline(false) in nsIOService::Init r=honzab
netwerk/base/nsIOService.cpp
--- a/netwerk/base/nsIOService.cpp
+++ b/netwerk/base/nsIOService.cpp
@@ -229,16 +229,17 @@ nsIOService::Init()
         NS_WARNING("failed to get observer service");
 
     Preferences::AddBoolVarCache(&sTelemetryEnabled, "toolkit.telemetry.enabled", false);
     Preferences::AddBoolVarCache(&mOfflineMirrorsConnectivity, OFFLINE_MIRRORS_CONNECTIVITY, true);
 
     gIOService = this;
 
     InitializeNetworkLinkService();
+    SetOffline(false);
 
     return NS_OK;
 }
 
 
 nsIOService::~nsIOService()
 {
     gIOService = nullptr;