mirror of
https://github.com/servo/servo.git
synced 2025-08-18 11:55:39 +01:00
Update web-platform-tests to revision 3ec34e5a2c8cbeeb7fad521cce0daf923b272a92
This commit is contained in:
parent
e9fdcdc785
commit
d67bfb7ff8
58 changed files with 2014 additions and 848 deletions
|
@ -398,6 +398,8 @@ def template(request, content, escape_type="html"):
|
|||
value = request.server.config['not_domains']
|
||||
else:
|
||||
value = request.server.config['domains']
|
||||
elif field == "host":
|
||||
value = request.server.config["browser_host"]
|
||||
elif field in request.server.config:
|
||||
value = request.server.config[tokens[0][1]]
|
||||
elif field == "location":
|
||||
|
|
|
@ -168,7 +168,8 @@ class WebTestServer(ThreadingMixIn, BaseHTTPServer.HTTPServer):
|
|||
Server.config = config
|
||||
else:
|
||||
self.logger.debug("Using default configuration")
|
||||
Server.config = {"host": server_address[0],
|
||||
Server.config = {"browser_host": server_address[0],
|
||||
"server_host": server_address[0],
|
||||
"domains": {"": server_address[0]},
|
||||
"ports": {"http": [self.server_address[1]]}}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue