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

Sharing: Gracefully fail on bad message JSON #6563

Merged
merged 1 commit into from
Jul 11, 2016

Conversation

aduth
Copy link
Contributor

@aduth aduth commented Jul 6, 2016

This pull request seeks to resolve an error which can occur in some cases when a postmessage containing a non-JSON-formatted message could result in an error in the sharing buttons preview frame handler.

Testing instructions:

Verify that no regressions occur in the usage of the sharing buttons preview, including previewing (notably "Official" button style where iframe is in use) and updating buttons.

Test live: https://calypso.live/?branch=fix/media-bad-message-handling

@aduth aduth added [Feature] Sharing Features and settings for sharing posts across different platforms, including sharing buttons. [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. labels Jul 6, 2016
@timmyc
Copy link
Contributor

timmyc commented Jul 9, 2016

LGTM

@timmyc timmyc added [Status] Ready to Merge and removed [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. labels Jul 9, 2016
@aduth aduth merged commit eb4252e into master Jul 11, 2016
@lancewillett lancewillett deleted the fix/media-bad-message-handling branch September 2, 2016 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Sharing Features and settings for sharing posts across different platforms, including sharing buttons.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants