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

Initial parent-iframe handshake #3

Open
iparamonau opened this issue Oct 21, 2013 · 0 comments
Open

Initial parent-iframe handshake #3

iparamonau opened this issue Oct 21, 2013 · 0 comments

Comments

@iparamonau
Copy link
Member

See general JS events/methods description by @bdougherty in #1.

For general discovery, there is an idea to add initial handshake, where iFrame will post a Message to the parent with the list of events/functions it supports and that parent can use.

Anyone would like to share of thoughts how to do it?

Also, take a look at the current spec where it says about method register with windowId.
Let's change it for general handshake mechanism, if we need one.

At the very lease, ID certainly makes it easy to communicate between parent and iFrame. We might, for example, also include format=JSON or =string communication on initial handshake, so parent knows in which format to communicate messages to iFrame. (@panzi please join)

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