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

check enablesXDR option when Request.hasXDR is called just in case #334

Merged
merged 1 commit into from Aug 20, 2014
Merged

check enablesXDR option when Request.hasXDR is called just in case #334

merged 1 commit into from Aug 20, 2014

Conversation

yujiosaka
Copy link

Add a fix to primus/primus#282 together with #333.
It should work without this fix because IE8 uses jsonp-polling when enablesXDR is false, but this way makes more sense, and possibly avoid bugs in future.

@@ -13,6 +13,7 @@ var Blob = require('blob');
require('./engine.io-client');
require('./socket');
require('./transport');
require('./transports');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The XDR test should be included in the browser only section (under if (env.browser))

@rase-
Copy link
Contributor

rase- commented Aug 19, 2014

Better safe than sorry. Great work. :)

@yujiosaka
Copy link
Author

@rase- Thanks for your comments ;) I moved the transports test to browser only section.

@rase-
Copy link
Contributor

rase- commented Aug 20, 2014

Looks good. Awesome work. :)

rase- added a commit that referenced this pull request Aug 20, 2014
check enablesXDR option when Request.hasXDR is called just in case
@rase- rase- merged commit fb9bfd7 into socketio:master Aug 20, 2014
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.

None yet

2 participants