Update web-platform-tests to revision 1aaada4bbc936024441fe7995b77c21a2c554da1

This commit is contained in:
WPT Sync Bot 2018-09-16 21:28:15 -04:00
parent 1e1eca07ed
commit 5e9d150c07
140 changed files with 3413 additions and 553 deletions

View file

@ -19,7 +19,6 @@ from collections import defaultdict, OrderedDict
from multiprocessing import Process, Event
from localpaths import repo_root
from six.moves import reload_module
from manifest.sourcefile import read_script_metadata, js_meta_re, parse_variants
from wptserve import server as wptserve, handlers
@ -630,9 +629,12 @@ class WebSocketDaemon(object):
def start_ws_server(host, port, paths, routes, bind_address, config, **kwargs):
# Ensure that when we start this in a new process we don't inherit the
# global lock in the logging module
reload_module(logging)
# Ensure that when we start this in a new process we have the global lock
# in the logging module unlocked
try:
logging._releaseLock()
except RuntimeError:
pass
return WebSocketDaemon(host,
str(port),
repo_root,
@ -643,9 +645,12 @@ def start_ws_server(host, port, paths, routes, bind_address, config, **kwargs):
def start_wss_server(host, port, paths, routes, bind_address, config, **kwargs):
# Ensure that when we start this in a new process we don't inherit the
# global lock in the logging module
reload_module(logging)
# Ensure that when we start this in a new process we have the global lock
# in the logging module unlocked
try:
logging._releaseLock()
except RuntimeError:
pass
return WebSocketDaemon(host,
str(port),
repo_root,