Merge pull request #4056 from cdaringe/patch-1

Specify enumerable property accessibility
This commit is contained in:
Cheng Zhao 2016-01-11 21:42:54 +08:00
commit a1da3c278b

View file

@ -36,6 +36,8 @@ process. Instead, it created a `BrowserWindow` object in the main process and
returned the corresponding remote object in the renderer process, namely the returned the corresponding remote object in the renderer process, namely the
`win` object. `win` object.
Please note that only [enumerable properties](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Enumerability_and_ownership_of_properties) are accessible via remote.
## Lifetime of Remote Objects ## Lifetime of Remote Objects
Electron makes sure that as long as the remote object in the renderer process Electron makes sure that as long as the remote object in the renderer process