Commit 9fa9a570 authored by jaubourg's avatar jaubourg

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

parent a500d33c
......@@ -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) {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment