https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 305c744ad716033069736d66d3ab9374c8a43f51 authored by Darren Shen on 27 March 2018, 09:18:24 UTC
[css-typed-om] Stub list-valued tests.
Tip revision: 305c744
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