https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 20d1447c7c5e95723d5c102b3645461fd0477e55 authored by Marcos Cáceres on 22 March 2018, 02:51:25 UTC
Remove PaymentCurrencyAmount.currencySystem tests
Tip revision: 20d1447
constants.js
//This file requires server-side substitutions and must be included as constants.js?pipe=sub

var PORT = "{{ports[ws][0]}}";
var PORT_SSL = "{{ports[wss][0]}}";

var SCHEME_DOMAIN_PORT;
if (location.search == '?wss') {
  SCHEME_DOMAIN_PORT = 'wss://{{host}}:' + PORT_SSL;
} else {
  SCHEME_DOMAIN_PORT = 'ws://{{host}}:' + PORT;
}
back to top