git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a500d33
)
Changed document.location to window.location per Ben Alman advice.
author
jaubourg
<aubourg.julian@gmail.com>
Fri, 10 Dec 2010 06:00:06 +0000
(07:00 +0100)
committer
jaubourg
<aubourg.julian@gmail.com>
Fri, 10 Dec 2010 06:00:06 +0000
(07:00 +0100)
test/unit/ajax.js
patch
|
blob
|
history
diff --git
a/test/unit/ajax.js
b/test/unit/ajax.js
index
c01edc0
..
d0f2e43
100644
(file)
--- a/
test/unit/ajax.js
+++ b/
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) {}