-
Notifications
You must be signed in to change notification settings - Fork 36.5k
Closed
Labels
plan-itemVS Code - planned item for upcomingVS Code - planned item for upcomingsandboxRunning VSCode in a node-free environmentRunning VSCode in a node-free environment
Milestone
Description
We want to explore a model where the workbench in Electron does not access node.js APIs. In that model the Electron renderer process runs in sandboxed mode, much like any browser tab would do. Privileged code has to either move into a backend process and be accessible via IPC communication or into a preload script that exposes certain methods to the page.
July
- 🏃 Allow to enable
sandboxbehind a setting and validate it works #154006 @bpasero @deepak1556 - 🏃 Contribute the utility process and APIs to Electron #154007 @deepak1556
Backlog
- Tests:
common/browser: run inBrowserWindowwithsandbox: truenode.js/electron-browser: run inELECTRON_RUN_AS_NODE
Architecture
costela, xsoheilalizadeh, septatrix, wangzishi, olso and 41 morefowl2, octref, pixieaka, Yukaii, danielgjackson and 14 moreSnirBroshi, pixieaka, a11delavar, Virgiel, TomasHubelbauer and 2 morepixieaka, a11delavar, Virgiel, TomasHubelbauer, tsugabloom and 1 moremyfonj, xsoheilalizadeh, SnirBroshi, pixieaka, a11delavar and 7 more
Metadata
Metadata
Assignees
Labels
plan-itemVS Code - planned item for upcomingVS Code - planned item for upcomingsandboxRunning VSCode in a node-free environmentRunning VSCode in a node-free environment
