https://github.com/web-platform-tests/wpt
Raw File
Tip revision: e2dbf6dc2f45ee245eac9dcbf4deb424c01c9dd1 authored by David Storey on 03 April 2018, 22:37:31 UTC
Add SVGTransformable to list of removed interfaces
Tip revision: e2dbf6d
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