https://bugzilla.wikimedia.org/show_bug.cgi?id=41731
--- Comment #4 from Michael M. <listenle...@gmail.com> --- (In reply to comment #2) > The code in comment #0 does cross script request so unlikely to ever succeed. It is a cross script request, yes, but with the line xhr.withCredentials = true; it will succeed as commons.wikimedia.org accepts CORS requests from de.wikipedia.org. (In reply to comment #3) > No idea, what the different to your code is. (I do not know how ajax() is > implemented and if that makes a different). There is no real difference, just a bit more jQuery-overhead. But with jQuery you can't add event listeners to xhr.upload (well, you can, if you really want to use uggly hacks). -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l