Electron Renderer Trust Boundary: contextIsolation and Preload IPC
Isolate Electron renderer processes with contextIsolation, nodeIntegration, and a typed preload API; validate all IPC in the main process.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Isolate Electron renderer processes with contextIsolation, nodeIntegration, and a typed preload API; validate all IPC in the main process.
Enabling Node.js in Electron renderers the secure way, using contextIsolation, preload scripts, and contextBridge.
Goal Confirm whether an API exposed through contextBridge.exposeInMainWorld remains available on window after a same-process renderer navigation that does not reload the page, with contextIsolation enabled. Constraints Electron runs preload scripts in an isolated world, and same-process navigations may not re-execute the preload script. Behavior can differ b