* **Electron Version** (output of `node_modules/.bin/electron --version`):
  * 3.0.6
* **Operating System** (Platform and Version):
  * macOS 10.14

### Expected Behavior
a `new-window` event fires

### Actual behavior
a `did-fail-load` fires with errorCode -3

### To Reproduce
```sh
$ git clone git@github.com:chrismohr/no-new-window.git -b master
$ cd no-new-window/
$ npm i && npm start
```

atom/browser/atom_browser_client.cc
network::mojom::NetworkService* network_service) {
  if (!g_browser_process ||
      !base::FeatureList::IsEnabled(network::features::kNetworkService))
    return;
  g_browser_process->system_network_context_manager()->OnNetworkServiceCreated(
      network_service);
}
std::vector<base::FilePath>
AtomBrowserClient::GetNetworkContextsParentDirectory() {
  base::FilePath user_data_dir;
  base::PathService::Get(DIR_USER_DATA, &user_data_dir);
  DCHECK(!user_data_dir.empty());
  return {user_data_dir};
}
bool AtomBrowserClient::ShouldBypassCORB(int render_process_id) const {
  
  base::AutoLock auto_lock(process_preferences_lock_);
  auto it = process_preferences_.find(render_process_id);
  return it != process_preferences_.end() && !it->second.web_security;
}
std::string AtomBrowserClient::GetProduct() const {
  return "Chrome/" CHROME_VERSION_STRING;
}
std::string AtomBrowserClient::GetUserAgent() const {
  if (user_agent_override_.empty())
    return GetApplicationUserAgent();
  return user_agent_override_;
}
void AtomBrowserClient::SetUserAgent(const std::string& user_agent) {