diff options
author | Victor Homyakov <vkhomyackov@gmail.com> | 2014-12-19 15:23:02 +0300 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2015-01-06 21:12:33 -0500 |
commit | 83b038fc81ec12e29dba92ad022e1d5fcf4980bc (patch) | |
tree | c04b9eda1c5a9ba369a4e56c16482ad59b1a6e87 | |
parent | d30c482910bf35c5dbaec9c82174d1e6ae8839b5 (diff) | |
download | jquery-83b038fc81ec12e29dba92ad022e1d5fcf4980bc.tar.gz jquery-83b038fc81ec12e29dba92ad022e1d5fcf4980bc.zip |
Ajax: Fix cross-domain detection test for non-default port
Closes gh-1954
-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 468d38459..b41654db9 100644 --- a/test/unit/ajax.js +++ b/test/unit/ajax.js @@ -321,7 +321,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 ), |