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

fix: add null check to message.data #29

Merged
merged 2 commits into from
Aug 27, 2024
Merged

fix: add null check to message.data #29

merged 2 commits into from
Aug 27, 2024

Conversation

asanehisa
Copy link
Contributor

There is a case where I see a MessageEvent with an origin, source, and null data. In this case the origin is not a target origin, but the code errors out on the null data first before it can throw a "Unrecognized origin" error.

@asanehisa asanehisa merged commit 36505bb into main Aug 27, 2024
9 checks passed
@asanehisa asanehisa deleted the fix-data branch August 27, 2024 15:26
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

Successfully merging this pull request may close these issues.

2 participants