refactor: eliminate duplicate code exposing process APIs (#15824)

This commit is contained in:
Milan Burda 2018-11-28 17:08:17 +01:00 committed by Shelley Vohr
parent d7d4b8638d
commit 07f8f5f95a
4 changed files with 40 additions and 37 deletions

View file

@ -13,6 +13,7 @@ It adds the following events, properties, and methods:
In sandboxed renderers the `process` object contains only a subset of the APIs:
- `crash()`
- `hang()`
- `getCreationTime()`
- `getHeapStatistics()`
- `getProcessMemoryInfo()`
- `getSystemMemoryInfo()`