test-electron: don't throttle when in background

This commit is contained in:
Johannes Rieken
2017-03-24 10:17:48 +01:00
parent 8518329696
commit 8a345061c2
+4 -1
View File
@@ -24,7 +24,10 @@ app.on('ready', () => {
const win = new BrowserWindow({
height: 600,
width: 800,
webPreferences: { webSecurity: false }
webPreferences: {
backgroundThrottling: false,
webSecurity: false
}
});
win.webContents.on('did-finish-load', () => {