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

3 lines
111 B
JavaScript

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