electron/spec-main/fixtures/api/leak-exit-browserview.js

6 lines
142 B
JavaScript

const { BrowserView, app } = require('electron')
app.on('ready', function () {
new BrowserView({}) // eslint-disable-line
app.quit()
})