Update web-platform-tests to revision 60220357131c65146444da1f54624d5b54d0975d

This commit is contained in:
WPT Sync Bot 2018-07-18 15:43:58 +00:00 committed by Tom Servo
parent c45192614c
commit 775b784f79
2144 changed files with 58115 additions and 29658 deletions

View file

@ -352,7 +352,7 @@ class RoutesBuilder(object):
for (method, suffix, handler_cls) in routes:
self.mountpoint_routes[url_base].append(
(method,
b"%s%s" % (str(url_base) if url_base != "/" else "", str(suffix)),
"%s%s" % (url_base if url_base != "/" else "", suffix),
handler_cls(base_path=path, url_base=url_base)))
def add_file_mount_point(self, file_url, base_path):
@ -434,7 +434,7 @@ def check_subdomains(config):
aliases = config.aliases
host = config.server_host
port = get_port(host)
port = get_port()
logger.debug("Going to use port %d to check subdomains" % port)
wrapper = ServerProc()
@ -492,7 +492,7 @@ def make_hosts_file(config, host):
def start_servers(host, ports, paths, routes, bind_address, config, ssl_config,
**kwargs):
servers = defaultdict(list)
for scheme, ports in ports.iteritems():
for scheme, ports in ports.items():
assert len(ports) == {"http":2}.get(scheme, 1)
for port in ports:
@ -789,7 +789,7 @@ def run(**kwargs):
stash_address = None
if bind_address:
stash_address = (config.server_host, get_port(config.server_host))
stash_address = (config.server_host, get_port())
logger.debug("Going to use port %d for stash" % stash_address[1])
with stash.StashServer(stash_address, authkey=str(uuid.uuid4())):