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

Fixed issue with messages missing event field in FF #21

Closed
wants to merge 2 commits into from
Closed

Fixed issue with messages missing event field in FF #21

wants to merge 2 commits into from

Conversation

msgerbush
Copy link

Looks like in the latest Firefox MessageChannel is still being
supplanted by this library, however because MessagePort is implemented
frames without MessageChannel.js are pushing valid
MessageEvents. As a result decodeEvent is receiving a legitimate
MessageEvent that does not need to be faked. For these events, just
pass them on as-is to avoid an ‘event is undefined’ error in the
decoding.

Looks like in the latest Firefox MessageChannel is still being 
supplanted by this library, however because MessagePort is implemented 
libraries from frames without MessageChannel.js are pushing valid 
MessageEvents.  As a result decodeEvent is receiving a legitimate 
MessageEvent that does not need to be faked.  For these events, just 
pass them on as-is to avoid an ‘event is undefined’ error in the 
decoding.
@msgerbush
Copy link
Author

Looks like tests are failing due to an old bower version. Let me know if you'd like me to update that as well.

@cyril-sf
Copy link
Contributor

Not sure if it's a bower version issue, but it probably doesn't hurt to update it.

That would be great if you could do it in this PR but in a separate commit!

Bump the bower version to the latest 1.4.1 to fix tests.
@msgerbush
Copy link
Author

Looks like there's some issue with Sauce Connect now, but I thought that was shut off for PR builds...any ideas?

@wagenet
Copy link

wagenet commented Jan 21, 2020

Closing due to staleness.

@wagenet wagenet closed this Jan 21, 2020
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.

3 participants