Skip to content

Commit

Permalink
Update WPT config to match upstream changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Zirro authored and domenic committed Apr 26, 2018
1 parent f3101ff commit ea0f5cf
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion test/web-platform-tests/start-wpt-server.js
Expand Up @@ -29,7 +29,7 @@ module.exports = ({ toUpstream = false } = {}) => {
const configPath = configPaths[configType];
const config = configs[configType];

const urlPrefix = `http://${config.host}:${config.ports.http[0]}/`;
const urlPrefix = `http://${config.browser_host}:${config.ports.http[0]}/`;

return dnsLookup("web-platform.test").then(
() => {
Expand Down
6 changes: 3 additions & 3 deletions test/web-platform-tests/tuwpt-config.json
@@ -1,8 +1,8 @@
{
"host": "web-platform.test",
"browser_host": "web-platform.test",
"doc_root": "../to-upstream",
"ws_doc_root": null,
"external_host": null,
"server_host": null,
"ports": {
"http": [10000, "auto"],
"https": [10443],
Expand All @@ -11,7 +11,7 @@
},
"check_subdomains": true,
"log_level": "info",
"bind_hostname": true,
"bind_address": true,
"ssl": {
"type": "pregenerated",
"encrypt_after_connect": false,
Expand Down
6 changes: 3 additions & 3 deletions test/web-platform-tests/wpt-config.json
@@ -1,8 +1,8 @@
{
"host": "web-platform.test",
"browser_host": "web-platform.test",
"doc_root": ".",
"ws_doc_root": null,
"external_host": null,
"server_host": null,
"ports": {
"http": [9000, "auto"],
"https": [9443],
Expand All @@ -11,7 +11,7 @@
},
"check_subdomains": true,
"log_level": "info",
"bind_hostname": true,
"bind_address": true,
"ssl": {
"type": "pregenerated",
"encrypt_after_connect": false,
Expand Down

0 comments on commit ea0f5cf

Please sign in to comment.