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
Родитель b25435c465 12f5e5072d
Коммит a1da3c278b
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -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
`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
Electron makes sure that as long as the remote object in the renderer process