mirror of
https://github.com/HackPlan/atom-shell.git
synced 2026-04-29 12:15:38 +08:00
Fix crashing when setting web-preferences, closes #443.
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user