test: add test for app.on('certificate-error') event (#21978)
This commit is contained in:
parent
08b1f0e25d
commit
720cf6eb27
2 changed files with 13 additions and 4 deletions
|
@ -20,9 +20,6 @@ v8.setFlagsFromString('--expose_gc')
|
|||
app.commandLine.appendSwitch('js-flags', '--expose_gc')
|
||||
// Prevent the spec runner quiting when the first window closes
|
||||
app.on('window-all-closed', () => null)
|
||||
// TODO: This API should _probably_ only be enabled for the specific test that needs it
|
||||
// not the entire test suite
|
||||
app.commandLine.appendSwitch('ignore-certificate-errors')
|
||||
|
||||
// Use fake device for Media Stream to replace actual camera and microphone.
|
||||
app.commandLine.appendSwitch('use-fake-device-for-media-stream')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue