test: move security warnings spec to main runner (#20055)

This commit is contained in:
Jeremy Apthorp 2019-09-03 00:02:22 -07:00 committed by Cheng Zhao
parent d7161742d2
commit f537366387
4 changed files with 237 additions and 259 deletions

View file

@ -511,7 +511,7 @@ no circumstances should you enable features speculatively.
// Bad
const mainWindow = new BrowserWindow({
webPreferences: {
enableBlinkFeatures: ['ExecCommandInJavaScript']
enableBlinkFeatures: 'ExecCommandInJavaScript'
}
})
```