- Electron version: 0.36.9
- Operating system: Mac OSX 10.11.14

When I click on a link that triggers a file download, it emits a `did-fail-load` event with an error code `-3`. The download works and is saved as expected though. 

As a side note, I was calling `loadURL` in the `did-fail-load` handler which caused Electron to crash. I can provide the full dump for that if you'd like. 

Let me know if you'd like any more details. 

atom/browser/api/atom_api_session.cc
auto storage_partition =
      content::BrowserContext::GetStoragePartition(browser_context(), nullptr);
  storage_partition->Flush();
}
void Session::SetProxy(const net::ProxyConfig& config,
                       const base::Closure& callback) {
  auto getter = browser_context_->GetRequestContext();
  BrowserThread::PostTask(BrowserThread::IO, FROM_HERE,
      base::Bind(&SetProxyInIO, base::Unretained(getter), config, callback));
}
void Session::SetDownloadPath(const base::FilePath& path) {
  browser_context_->prefs()->SetFilePath(
      prefs::kDownloadDefaultDirectory, path);
}
void Session::EnableNetworkEmulation(const mate::Dictionary& options) {