Enable WebFrame method forwarding in sandboxed renderers (#12538)

* Enable WebFrame method forwarding in sandboxed renderers

Fixes #9073

* Non-change to kick CI
This commit is contained in:
Jeremy Apthorp 2018-04-11 18:57:40 -07:00 committed by Samuel Attard
parent 558d36c1f3
commit 97fb15ac49
6 changed files with 63 additions and 38 deletions

View file

@ -32,6 +32,8 @@ const preloadModules = new Map([
['timers', require('timers')]
])
require('../renderer/web-frame-init')()
// Pass different process object to the preload script(which should not have
// access to things like `process.atomBinding`).
const preloadProcess = new events.EventEmitter()