Fix crashing when setting web-preferences, closes #443.
This commit is contained in:
parent
365638f1d5
commit
fab11950ee
4 changed files with 23 additions and 18 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue