mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
feat: add process.contextIsolation property (#28030)
This commit is contained in:
3
spec/fixtures/api/isolated-process.js
vendored
Normal file
3
spec/fixtures/api/isolated-process.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
const { ipcRenderer } = require('electron');
|
||||
|
||||
ipcRenderer.send('context-isolation', process.contextIsolation);
|
||||
Reference in New Issue
Block a user