Merge pull request #5614 from electron/bengotow-remote-docs

Update remote.md to mention enumerable property limitation
This commit is contained in:
Cheng Zhao 2016-05-19 23:54:20 +00:00
commit d6dffc570c

View file

@ -37,7 +37,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.
Please note that only [enumerable properties](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Enumerability_and_ownership_of_properties) which are present when the remote object is first referenced are
accessible via remote.
## Lifetime of Remote Objects