mirror of
https://github.com/electron/electron.git
synced 2026-01-22 13:58:01 -05:00
Don't expose "global" when node integration is off
This commit is contained in:
@@ -93,6 +93,7 @@ else
|
||||
delete global.process
|
||||
delete global.setImmediate
|
||||
delete global.clearImmediate
|
||||
delete global.global
|
||||
|
||||
# Load the script specfied by the "preload" attribute.
|
||||
if preloadScript
|
||||
|
||||
Reference in New Issue
Block a user