electron/lib/renderer/api
Thiago de Arruda 6f076f7433 Refactor sandbox preload initialization. (#12877)
Use a single synchronous IPC call to retrieve data required by early
sandbox scripts. This has two purposes:

- Optimize preload script initialization by:
  - Using one synchronous IPC call to retrieve preload script,
  webContentsId (more on that later), process.{platform,execPath,env}
  - Lazy loading as many modules as possible.
- Fix #12316 for sandbox. @MarshallOfSound addressed the issue in
  #12342, but it was still present in sandbox mode. By loading
  webContentsId very early and skipping remote module at early
  startup, we fix it for sandbox.
2018-05-21 22:56:05 +10:00
..
exports Refactor electron exports to keep module list in separate files 2017-03-09 19:08:01 -03:00
desktop-capturer.js Add a display_id parameter to the desktopCapturer API. (#12417) 2018-04-09 14:43:35 +09:00
ipc-renderer.js Remove lib/renderer/api/ipc-renderer-setup.js 2017-03-09 20:40:32 -03:00
module-list.js Refactor electron exports to keep module list in separate files 2017-03-09 19:08:01 -03:00
remote.js Refactor sandbox preload initialization. (#12877) 2018-05-21 22:56:05 +10:00
screen.js autoformat more easy files 2016-03-30 17:00:31 -07:00
web-frame.js singletons that are retroactively turned into EventEmitters should call the EventEmitter ctor 2017-11-01 23:05:27 -05:00