feat: add process.contextIsolation property (#28030)

This commit is contained in:
Milan Burda
2021-03-17 19:23:29 +01:00
committed by GitHub
parent 485fa5bea9
commit fc7f2042ec
9 changed files with 40 additions and 12 deletions

3
spec/fixtures/api/isolated-process.js vendored Normal file
View File

@@ -0,0 +1,3 @@
const { ipcRenderer } = require('electron');
ipcRenderer.send('context-isolation', process.contextIsolation);