electron/spec/fixtures/crash-cases/webcontentsview-create-leak-exit/index.js
Milan Burda 82af000a37
chore: cleanup eslint suppressions (#38417)
* chore: cleanup eslint suppressions

* address feedback

* revert script/lib/azput.js

* revert spec/fixtures/apps/remote-control/main.js

* address feedback

* revert typings/internal-ambient.d.ts
2023-05-25 10:09:17 +09:00

7 lines
172 B
JavaScript

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