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

Request: Add targetOrigin as optional parameter to windowEndpoint #404

Closed
barnawhi opened this issue Nov 21, 2019 · 2 comments
Closed

Request: Add targetOrigin as optional parameter to windowEndpoint #404

barnawhi opened this issue Nov 21, 2019 · 2 comments

Comments

@barnawhi
Copy link

Adding this parameter would allow you to use the built in filtering Window.postMessage provides. It seems if it were an optional parameter the function would remain backwards compatible (by continuing to fallback to '*' when unspecified).

@surma
Copy link
Collaborator

surma commented Nov 22, 2019

This is a good idea! Feel free to open a PR, otherwise I’ll tackle this when I next get around to it.

@surma
Copy link
Collaborator

surma commented Nov 22, 2019

Related: #395

@surma surma closed this as completed in c31e791 Dec 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants