Permalink
Browse files

Changed document.location to window.location per Ben Alman advice.

  • Loading branch information...
jaubourg
jaubourg committed Dec 10, 2010
1 parent a500d33 commit 9fa9a570762c2b6dc6131b28b13547964d91be3e
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/unit/ajax.js
@@ -1886,7 +1886,7 @@ test("jQuery.ajax - active counter", function() {
test( "jQuery.ajax - Location object as url (#7531)", 1, function () {
var success = false;
try {
var xhr = jQuery.ajax({ url: document.location });
var xhr = jQuery.ajax({ url: window.location });
success = true;
xhr.abort();
} catch (e) {}

0 comments on commit 9fa9a57

Please sign in to comment.