Fix refreshing test window

This commit is contained in:
Cheng Zhao 2015-06-05 19:48:58 +08:00
parent cd7b3dd291
commit 13c1b078f9
2 changed files with 6 additions and 1 deletions

View file

@ -5,6 +5,7 @@ var BrowserWindow = require('browser-window');
var Menu = require('menu');
var window = null;
process.port = 0; // will be used by crash-reporter spec.
app.commandLine.appendSwitch('js-flags', '--expose_gc');
app.commandLine.appendSwitch('ignore-certificate-errors');