diff options
author | Victor Homyakov <vkhomyackov@gmail.com> | 2015-01-06 21:23:16 -0500 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2015-01-06 21:23:16 -0500 |
commit | b635ee2d36f2ace7a75239de859da9fd777aa0cd (patch) | |
tree | 3b33bfea060c26b8e051527cfdc658e9a1cc2323 /test/unit/ajax.js | |
parent | 598946d09f5cd9df8575c615a57a9d546a95257a (diff) | |
download | jquery-b635ee2d36f2ace7a75239de859da9fd777aa0cd.tar.gz jquery-b635ee2d36f2ace7a75239de859da9fd777aa0cd.zip |
Ajax: Fix cross-domain detection test for non-default port
Closes gh-1954
Diffstat (limited to 'test/unit/ajax.js')
-rw-r--r-- | test/unit/ajax.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/ajax.js b/test/unit/ajax.js index 7a5ab3445..35db61699 100644 --- a/test/unit/ajax.js +++ b/test/unit/ajax.js @@ -316,7 +316,7 @@ module( "ajax", { return [ request( - loc.protocol + "//" + loc.host + ":" + samePort, + loc.protocol + "//" + loc.hostname + ":" + samePort, "Test matching ports are not detected as cross-domain", false ), |