https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 304d5d487eda2ce794f9ce366a279787d239a2eb authored by Simon Pieters on 24 August 2018, 09:32:45 UTC
HTML: Add margins to reference for fieldset translateZ test
Tip revision: 304d5d4
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