electron/lib/renderer
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 Refactor sandbox preload initialization. (#12877) 2018-05-21 22:56:05 +10:00
extensions 🔧 Disable standard/no-callback-literal where necessary 2017-11-23 13:53:03 -08:00
web-view add did-frame-navigate event to WebContents (#12723) 2018-05-01 13:34:41 +09:00
chrome-api.js 🔧 Disable standard/no-callback-literal where necessary 2017-11-23 13:53:03 -08:00
content-scripts-injector.js fix: listeners out of limit warning (#12841) 2018-05-08 14:10:11 +09:00
init.js Enable WebFrame method forwarding in sandboxed renderers (#12538) 2018-04-12 11:57:40 +10:00
inspector.js update a few menu.popup() calls to use the new API 2018-02-20 14:02:24 -06:00
override.js Use native window.open implementation 2017-03-19 17:41:20 +09:00
security-warnings.js 🔧 Fix security warning (#12309) 2018-03-16 06:21:38 +09:00
web-frame-init.js Enable WebFrame method forwarding in sandboxed renderers (#12538) 2018-04-12 11:57:40 +10:00
window-setup.js Implement dialog (alert/confirm) blocking as a user switch after the first dialog 2018-03-06 11:19:15 +09:00