3 ms·
Pretty good, but I've never had a problem with an XMLHttpRequest being inconsistent. Everything else seems spot-on though.
by protonfish 11y ago
Pretty good, but I've never had a problem with an XMLHttpRequest being inconsistent. Everything else seems spot-on though.
- iron_ball 11y agoI think they're joking about the capitalization of the name.
- paulddraper 11y agoYeah. That's what I was going for ;)
- protonfish 11y agoI get it now! Duh.
- vbezhenar 11y agoXML is uppercase but Http is not. That seems to be inconsistent, though in some coding standards that's a correct naming scheme: acronyms with length less that 4 are named in uppercase (XML, URL) and acronyms with length >= 4 are named as Http. Another example is HttpURLConnection class from the standard Java library.
- choult 11y agoClearly you've only started using it in the past few years... It was horrific and totally inconsistent across browsers and between versions about 8 years ago and earlier.
- akamaka 11y agoYou've probably started using it more recently, but if you want to see what it used to be like, check out this XMLHttpRequest wrapper and see how many browser bugs it fixes: https://github.com/ilinsky/xmlhttprequest/blob/master/XMLHttpRequest.js https://github.com/ilinsky/xmlhttprequest/blob/master/XMLHtt...