electron/spec-main/fixtures/crash-cases/in-memory-session-double-free/index.js
2020-08-17 13:21:53 -07:00

7 lines
256 B
JavaScript

const { app, BrowserWindow } = require('electron');
app.on('ready', async () => {
const win = new BrowserWindow({ show: false, webPreferences: { partition: '123321' } });
await win.loadURL('data:text/html,<body>');
setTimeout(() => app.quit());
});