Skip to content

Commit

Permalink
CORS: use proper subdomains in basic.htm
Browse files Browse the repository at this point in the history
When this was refactored in f90659e the dot was dropped. Chrome kept passing the tests however, presumably because the Chrome test runner doesn't care about the actual domains being used.
  • Loading branch information
annevk committed May 29, 2023
1 parent b7e75b1 commit ea32720
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cors/basic.htm
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@
}

cors("Same domain basic usage");
cors("Cross domain basic usage", "http", "www1");
cors("Cross domain basic usage", "http", "www1.");
cors("Same domain different port", "http", undefined, PORT);

cors("Cross domain different port", "http", "www1", PORT);
cors("Cross domain different port", "http", "www1.", PORT);

cors("Cross domain different protocol", "https", "www1", PORTS);
cors("Cross domain different protocol", "https", "www1.", PORTS);

cors("Same domain different protocol different port", "https", undefined, PORTS);

Expand Down

0 comments on commit ea32720

Please sign in to comment.