mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update web-platform-tests to revision 4adce83d1f2b08fa2e92427c4687d0cf535aee53
This commit is contained in:
parent
d3763452b5
commit
3e4ec1724a
102 changed files with 3019 additions and 1309 deletions
|
@ -16,6 +16,7 @@ import traceback
|
|||
from six.moves import urllib
|
||||
import uuid
|
||||
from collections import defaultdict, OrderedDict
|
||||
from itertools import chain, product
|
||||
from multiprocessing import Process, Event
|
||||
|
||||
from localpaths import repo_root
|
||||
|
@ -720,6 +721,9 @@ def build_config(override_path=None, **kwargs):
|
|||
|
||||
return rv
|
||||
|
||||
def _make_subdomains_product(s, depth=2):
|
||||
return set(u".".join(x) for x in chain(*(product(s, repeat=i) for i in range(1, depth+1))))
|
||||
|
||||
_subdomains = {u"www",
|
||||
u"www1",
|
||||
u"www2",
|
||||
|
@ -728,6 +732,10 @@ _subdomains = {u"www",
|
|||
|
||||
_not_subdomains = {u"nonexistent"}
|
||||
|
||||
_subdomains = _make_subdomains_product(_subdomains)
|
||||
|
||||
_not_subdomains = _make_subdomains_product(_not_subdomains)
|
||||
|
||||
|
||||
class ConfigBuilder(config.ConfigBuilder):
|
||||
"""serve config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue