* **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/web_contents_preferences.cc
last_preference_ = preference_.Clone();
}
void WebContentsPreferences::OverrideWebkitPrefs(
    content::WebPreferences* prefs) {
  prefs->javascript_enabled =
      IsEnabled(options::kJavaScript, true );
  prefs->images_enabled = IsEnabled(options::kImages, true );
  prefs->text_areas_are_resizable =
      IsEnabled(options::kTextAreasAreResizable, true );
  prefs->navigate_on_drag_drop =
      IsEnabled(options::kNavigateOnDragDrop, false );
  if (!GetAsAutoplayPolicy(&preference_, "autoplayPolicy",
                           &prefs->autoplay_policy)) {
    prefs->autoplay_policy = content::AutoplayPolicy::kNoUserGestureRequired;
  }
  
  bool is_webgl_enabled = IsEnabled(options::kWebGL, true );
  prefs->webgl1_enabled = is_webgl_enabled;
  prefs->webgl2_enabled = is_webgl_enabled;
  
  bool is_web_security_enabled =
      IsEnabled(options::kWebSecurity, true );
  prefs->web_security_enabled = is_web_security_enabled;
  prefs->allow_running_insecure_content =
      IsEnabled(options::kAllowRunningInsecureContent,
                !is_web_security_enabled );
  auto* fonts_dict = preference_.FindKeyOfType("defaultFontFamily",