mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Specify enumerable property accessibility
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user