https://github.com/web-platform-tests/wpt
Raw File
Tip revision: afa7bc960f2a72b911f5cf4ea83d4f272bed3270 authored by Manuel Rego Casasnovas on 30 November 2018, 22:57:59 UTC
[css-contain][css-grid] Support size containment on grid containers
Tip revision: afa7bc9
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