electron/spec/fixtures/crash-cases/webcontentsview-create-leak-exit/index.js

7 lines
170 B
JavaScript

const { WebContentsView, app } = require('electron');
app.whenReady().then(function () {
// eslint-disable-next-line no-new
new WebContentsView();
app.quit();
});