electron/spec/fixtures/crash-cases/webcontentsview-create-leak-exit/index.js
Samuel Attard ba6d9291d2
build: add import/order eslint rule (#44108)
build: add import/order eslint rule (#44085)

* build: add import/order eslint rule

* chore: run lint:js --fix
2024-10-03 15:21:54 -07:00

8 lines
171 B
JavaScript

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