electron/spec-main/fixtures/crash-cases/in-memory-session-double-free/index.js

8 lines
256 B
JavaScript
Raw Normal View History

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());
});