-
Notifications
You must be signed in to change notification settings - Fork 34k
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
sandbox
behind a setting and validate it works #154006 @bpasero @deepak1556 - 🏃 Contribute the utility process and APIs to Electron #154007 @deepak1556
Backlog
- Tests:
common/browser
: run inBrowserWindow
withsandbox: true
node.js/electron-browser
: run inELECTRON_RUN_AS_NODE
Architecture
costela, xsoheilalizadeh, septatrix, wangzishi, olso and 41 morefowl2, octref, pixieaka, Yukaii, danielgjackson and 14 moreNotWearingPants, pixieaka, a11delavar, Virgiel, TomasHubelbauer and 2 morepixieaka, a11delavar, Virgiel, TomasHubelbauer, tsugabloom and 1 moremyfonj, xsoheilalizadeh, NotWearingPants, 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