Skip to content

Commit

Permalink
Revert "Partly fix web-platform-tests#8581: add extra subdomains for …
Browse files Browse the repository at this point in the history
…cookie tests"

This reverts commit ff4e72e.

Fixes web-platform-tests#12461.
  • Loading branch information
gsnedders committed Aug 13, 2018
1 parent 5a37091 commit 20acbd8
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tools/serve/serve.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
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
Expand Down Expand Up @@ -702,9 +701,6 @@ def build_config(override_path=None, **kwargs):

return rv

def _make_subdomains_product(s, depth=3):
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",
Expand All @@ -713,10 +709,6 @@ def _make_subdomains_product(s, depth=3):

_not_subdomains = {u"nonexistent"}

_subdomains = _make_subdomains_product(_subdomains)

_not_subdomains = _make_subdomains_product(_not_subdomains)


class ConfigBuilder(config.ConfigBuilder):
"""serve config
Expand Down

0 comments on commit 20acbd8

Please sign in to comment.