Merge pull request #9222 from alexstrat/add-os-process-id

Add OS pid to web-contents
This commit is contained in:
Kevin Sawicki 2017-05-15 13:28:47 -07:00 committed by GitHub
commit d79ac8d9c1
4 changed files with 27 additions and 0 deletions

View file

@ -1289,6 +1289,10 @@ Setting the WebRTC IP handling policy allows you to control which IPs are
exposed via WebRTC. See [BrowserLeaks](https://browserleaks.com/webrtc) for
more details.
#### `contents.getOSProcessId()`
Returns `Integer` - The `pid` of the associated renderer process.
### Instance Properties
#### `contents.id`