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

Closes gh-1954
This commit is contained in:
Victor Homyakov 2014-12-19 15:23:02 +03:00 committed by Dave Methvin
parent d30c482910
commit 83b038fc81

View File

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