3378: // Create the request object; Microsoft failed to properly 3379: // implement the XMLHttpRequest in IE7, so we use the ActiveXObject when it is available 3380: // This function can be overriden by calling jQuery.ajaxSetup
3381: xhr:function(){ 3382: return window.ActiveXObject ? new ActiveXObject("Microsoft.XMLHTTP") : new XMLHttpRequest(); 3383: },
3530: // Set header so the called script knows that it's an XMLHttpRequest 3531: xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest"); 3532:
1124: return Try.these( 1125: function() {return new XMLHttpRequest()}, 1126: function() {return new ActiveXObject('Msxml2.XMLHTTP')},
1253: var headers = { 1254: 'X-Requested-With': 'XMLHttpRequest', 1255: 'X-Prototype-Version': Prototype.Version,
1263: /* Force "Connection: close" for older Mozilla browsers to work 1264: * around a bug where XMLHttpRequest sends an incorrect 1265: * Content-length header. See Mozilla Bugzilla #246651.
16: ... |_333|opera|DeferredList|ret|_309|silentlyCancelled|canceller|_nextId|Array|_293|XMLHttpRequest|chained|_281|tail|_252|_225|msec|day|month|iso ...
30: ... t|httpData|httpNotModified|httpSuccess|fieldset|beforeSend|getBoundingClientRect|XMLHttpRequest|ActiveXObject|col|br|abbr|pixelLeft|urlencoded ...
51: ... zDomContentLoaded|domcontentloaded|Unable|base|chrome|1223|304|300|200|available|XMLHttpRequest|_println|language|userLanguage|isQuirks|factor ...
66: ... d|reset|removeEventListener|activate|findFirstElement|setRequestHeaders|setWidth|XMLHttpRequest|constructor|application|xml|onCreate|contentTy ...
313: trident: function(){ 314: return (!window.ActiveXObject) ? false : ((window.XMLHttpRequest) ? 5 : 4); 315: },
349: return $try(function(){ 350: return new XMLHttpRequest(); 351: }, function(){
3683: headers: { 3684: 'X-Requested-With': 'XMLHttpRequest', 3685: 'Accept': 'text/javascript, text/html, application/xml, text/xml, */*'
42: descriptorShouldBe("global", "'window'", {writable: false, enumerable: true, configurable: false, value:"global"}); 43: descriptorShouldBe("global", "'XMLHttpRequest'", {writable: true, enumerable: true, configurable: false, value:"XMLHttpRequest"}); 44: descriptorShouldBe("global", "'length'", {writable: true, enumerable: true, configurable: false, value:"global.length"});
16: function xhr(win) { 17: var xhr = new win.XMLHttpRequest(); 18: var url = prompt("Test failed. To prove it, I'm going " + 19: "to make a cross-domain XMLHttpRequest. Where " + 20: "would you like me to send it?\n\nHint: You can " +
27: function instructions(params) { 28: var str = "<p>This test tries to make a cross-domain XMLHttpRequest to " + 29: "check whether JavaScript object wrappers are working (bug 16837, bug 16011).</p>" +
In order to show you the most relevant results, we have omitted some entries very similar to the 7 already displayed.
If you like, you can repeat the search with the omitted results included.
Google Home - Google Code - Discuss - Terms of Service - Help - Submit Your Code
©2010 Google - Privacy