https://bugzilla.wikimedia.org/show_bug.cgi?id=64822
--- Comment #7 from Krinkle <[email protected]> --- (In reply to Barry Coughlan from comment #2) > The crossDomain logic will switch between the 'script' and 'xhr' transports, > but both requests will still have be JSONP and have the callback parameter. > > See here: http://jsfiddle.net/yvzSL/228/ > > In your developer tools console you can see that the local request uses XHR, > but it is still a JSONP request over XHR. I have read through the $.ajax > docs a number of times now and I see no indication that it should behave > otherwise. That example is broken. The first request is is malformed. "json jsonp" is not a valid dataType. This value is invalid and unsupported. It seems to default to a script tag instead, but as you can see the callback in that code never fires. Here's a forked version of that example where I added number "1" and "2". You'll find that "DONE 1" never appears. http://jsfiddle.net/L5PtK/ -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
