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

options.xdrURL may throw a TypeError 'Cannot read property 'xdrURL' of undefined' #47

Closed
flowersinthesand opened this Issue Jan 28, 2015 · 0 comments

Comments

Projects
None yet
1 participant
@flowersinthesand
Contributor

flowersinthesand commented Jan 28, 2015

To reproduce:

vibe.util.corsable = false;
window.XDomainRequest = window.XDomainRequest || function() {};

vibe.transport.createHttpStreamTransport("http://localhost:8080?transport=stream");

Every time it accesses options object, null check should be done first. This issue occurs only when transport factory is called directly not through vibe.open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment