Skip to content

Commit

Permalink
Ajax: Fix cross-domain detection test for non-default port
Browse files Browse the repository at this point in the history
Closes gh-1954
  • Loading branch information
victor-homyakov authored and dmethvin committed Jan 7, 2015
1 parent 598946d commit b635ee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/ajax.js
Expand Up @@ -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
),
Expand Down

0 comments on commit b635ee2

Please sign in to comment.