Fix crashing when setting web-preferences, closes #443.

This commit is contained in:
Cheng Zhao 2014-07-21 13:08:52 +08:00
parent 365638f1d5
commit fab11950ee
4 changed files with 23 additions and 18 deletions

View file

@ -139,7 +139,10 @@ app.on('ready', function() {
title: 'atom-shell tests',
show: false,
width: 800,
height: 600
height: 600,
'web-preferences': {
javascript: true // Test whether web-preferences crashes.
},
});
window.loadUrl('file://' + __dirname + '/index.html');
window.on('unresponsive', function() {