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

Remove json assumption from postMessage handler #190

Merged
merged 3 commits into from
Sep 18, 2018

Conversation

bingenito
Copy link
Member

Incorrect assumption that all messages received are from desktopJS and are serialized JSON. Remove use of JSON completely so no parse is required and we can look at source to determine whether they are within scope of desktopJS message bus.

@bingenito
Copy link
Member Author

@Morgan-Stanley/desktopjs-core Hold off on approval until after I add another commit to add more coverage on the subscribe side.

@bingenito bingenito merged commit 8ed38bf into morganstanley:master Sep 18, 2018
@bingenito bingenito deleted the postmessage-removejson branch September 26, 2018 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants