electron/lib
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
..
browser Refactor sandbox preload initialization. (#12877) 2018-05-21 22:56:05 +10:00
common Deprecate did-get-response-details and did-get-redirect-request (#12615) 2018-04-23 14:46:12 -05:00
isolated_renderer Pass nativeWindowOpen flag to isolated init.js 2017-04-30 19:35:41 +09:00
renderer Refactor sandbox preload initialization. (#12877) 2018-05-21 22:56:05 +10:00
sandboxed_renderer Refactor sandbox preload initialization. (#12877) 2018-05-21 22:56:05 +10:00
worker Correctly initialize Node environment in worker 2017-03-20 12:52:45 -07:00