electron/spec/fixtures/api/isolated-process.js

4 lines
110 B
JavaScript

const { ipcRenderer } = require('electron');
ipcRenderer.send('context-isolation', process.contextIsolated);