Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Look into how to expose DOM between windows, for all runtimes #17

Open
Dillonu opened this issue May 4, 2017 · 0 comments
Open

Look into how to expose DOM between windows, for all runtimes #17

Dillonu opened this issue May 4, 2017 · 0 comments

Comments

@Dillonu
Copy link
Contributor

Dillonu commented May 4, 2017

Exposing the DOM allows other windows to make modifications to that window. We can take inspiration from Electron's IPC/RPC:
https://github.com/electron/electron/blob/master/lib/browser/rpc-server.js
Basically, add a way to proxy DOM operations.

A solution for the Browser is something using:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy

A solution for Electron is something like:
https://github.com/electron/electron/blob/master/lib/browser/rpc-server.js

A solution for OpenFin is either attempting to gain access via the API (getContentWindow), or using the Browser's method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant