* **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.h
base::Value* last_preference() { return &last_preference_; }
 private:
  friend class content::WebContentsUserData<WebContentsPreferences>;
  friend class AtomBrowserClient;
  
  static content::WebContents* GetWebContentsFromProcessID(int process_id);
  
  bool SetDefaultBoolIfUndefined(const base::StringPiece& key, bool val);
  static std::vector<WebContentsPreferences*> instances_;
  content::WebContents* web_contents_;
  base::Value preference_ = base::Value(base::Value::Type::DICTIONARY);
  base::Value last_preference_ = base::Value(base::Value::Type::DICTIONARY);
  WEB_CONTENTS_USER_DATA_KEY_DECL();
  DISALLOW_COPY_AND_ASSIGN(WebContentsPreferences);
};
}  
#endif