mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update web-platform-tests to revision 1aaada4bbc936024441fe7995b77c21a2c554da1
This commit is contained in:
parent
1e1eca07ed
commit
5e9d150c07
140 changed files with 3413 additions and 553 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue