electron/lib/browser
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
..
api feat: add TopLevelWindow.setContentView API 2018-05-15 14:12:47 +09:00
chrome-extension.js Replace custom function with Object.values() 2018-02-05 20:03:28 -08:00
desktop-capturer.js Add a display_id parameter to the desktopCapturer API. (#12417) 2018-04-09 14:43:35 +09:00
guest-view-manager.js add did-frame-navigate event to WebContents (#12723) 2018-05-01 13:34:41 +09:00
guest-window-manager.js Propagate referrer to new windows (#12397) 2018-04-05 18:13:24 -05:00
init.js Fix linting error 2018-05-16 14:34:13 +02:00
objects-registry.js Co-locate with other private methods 2016-12-02 10:41:42 -08:00
rpc-server.js Refactor sandbox preload initialization. (#12877) 2018-05-21 22:56:05 +10:00