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

Ignore syntax errors from popups #948

Merged
merged 2 commits into from
Jun 11, 2019
Merged

Ignore syntax errors from popups #948

merged 2 commits into from
Jun 11, 2019

Conversation

luisrudge
Copy link
Contributor

Fix #512

Changes

Ignore SyntaxError from popups. This will ignore errors that happen when a browser extension sends a postMessage that is not a valid JSON. WinChan throws an error in this case and we'll just ignore it.

References

#512

Testing

[x] This change adds unit test coverage

@luisrudge luisrudge requested a review from a team June 11, 2019 17:29
@luisrudge luisrudge merged commit 158763a into master Jun 11, 2019
@luisrudge luisrudge deleted the fix/popup-syntax-error branch June 11, 2019 18:16
@luisrudge luisrudge added this to the v9.11.0 milestone Jun 13, 2019
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.

Error messages when using popup authentication with Extensions that use postMessage
2 participants