Skip to content

Remove image transport #545

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

Merged
merged 1 commit into from
Apr 4, 2016
Merged

Remove image transport #545

merged 1 commit into from
Apr 4, 2016

Conversation

benvinegar
Copy link
Contributor

We basically want everyone to use XHR POST + CORS, which is supported in IE8 and above. We haven't had any trouble w/ people using the XHR transport (which has been the default since 2.0), so we feel confident we can remove the Image transport. We could add it back as a plugin if people really need it, but it wouldn't be advised anyways (since URI length too long limit is frequently hit).

@benvinegar benvinegar added this to the 3.0 milestone Apr 1, 2016
img.src = src;
},
// if browser doesn't support CORS (e.g. IE7), we are
// out of luck ... report to console?
Copy link
Contributor

Choose a reason for hiding this comment

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

Unlikely worth it since this would happen to the user, not the person who actually cares about raven-js.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, I know. So let's stick with no-op (and I'll amend comment)?

@benvinegar benvinegar force-pushed the remove-image-transport branch from 0a942a6 to 8c33296 Compare April 4, 2016 18:22
@benvinegar benvinegar merged commit 8be5cef into master Apr 4, 2016
@benvinegar benvinegar deleted the remove-image-transport branch April 4, 2016 18:24
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