mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Update web-platform-tests to revision 60220357131c65146444da1f54624d5b54d0975d
This commit is contained in:
parent
c45192614c
commit
775b784f79
2144 changed files with 58115 additions and 29658 deletions
|
@ -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())):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue