From 48fe013549e10218e4f6168bf1f28d103d8bf61b Mon Sep 17 00:00:00 2001 From: Milan Burda Date: Fri, 4 May 2018 18:51:32 +0200 Subject: [PATCH] Expose events (EventEmitter) to sandboxed renderer (#12828) --- lib/sandboxed_renderer/init.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/sandboxed_renderer/init.js b/lib/sandboxed_renderer/init.js index 6644a9709c24..8a1e6a9477c3 100644 --- a/lib/sandboxed_renderer/init.js +++ b/lib/sandboxed_renderer/init.js @@ -25,6 +25,7 @@ const fs = require('fs') const preloadModules = new Map([ ['child_process', require('child_process')], ['electron', electron], + ['events', events], ['fs', fs], ['os', require('os')], ['path', require('path')],