https://github.com/web-platform-tests/wpt
Raw File
Tip revision: c417cb73192361552f7d8c10caffd2cf1f27956a authored by Florian Rivoal on 29 March 2018, 06:07:22 UTC
[css-overflow-3] test the flow-relative overflow properties
Tip revision: c417cb7
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