From 6788309ed8dade0f08f3d054190f44ccb45d0db8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Didrik=20Nordstr=C3=B6m?= Date: Sat, 12 Oct 2019 03:59:18 -0700 Subject: [PATCH] Update stale comment: renderer has no access to Node APIs. (#308) --- renderer.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/renderer.js b/renderer.js index 901d75e..d3bdade 100644 --- a/renderer.js +++ b/renderer.js @@ -1,3 +1,6 @@ // This file is required by the index.html file and will // be executed in the renderer process for that window. -// All of the Node.js APIs are available in this process. +// No Node.js APIs are available in this process because +// `nodeIntegration` is turned off. Use `preload.js` to +// selectively enable features needed in the rendering +// process.