Bug 1134596 - SetOffline(false) in nsIOService::Init r=honzab
☠☠ backed out by 09e982a5d591 ☠ ☠
authorValentin Gosu <valentin.gosu@gmail.com>
Thu, 09 Apr 2015 06:33:08 +0300
changeset 238269 fb48ee62bab4bf27fde7a25f3e8ae83a1e44f870
parent 238268 82d6b5523a2bac42d66d517686c57ec3c776a558
child 238270 5e0f9496283096563403dd6ef8906009d0b42d62
push id58170
push uservalentin.gosu@gmail.com
push dateThu, 09 Apr 2015 03:33:33 +0000
treeherdermozilla-inbound@fb48ee62bab4 [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;