Ajax: Fix cross-domain detection test for non-default port

Closes gh-1954
This commit is contained in:
Victor Homyakov 2015-01-06 21:23:16 -05:00 committed by Dave Methvin
parent 598946d09f
commit b635ee2d36

View File

@ -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
),