Revision 387fba3809b776a98e6b11725c6d9a5be037bbca authored by Darren Shen on 11 April 2018, 05:55:17 UTC, committed by Blink WPT Bot on 11 April 2018, 06:04:09 UTC
Test failures:
- scroll-snap-align should always compute to a pair (but we currently
  compute to single keyword if specified).
- scroll-snap-type should compute to as specified (but we currently
  compute to pair).

Bug: 820299
Change-Id: Id38cee967daef8ac5c0658b958d6e74445035a83
Reviewed-on: https://chromium-review.googlesource.com/999078
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Darren Shen <shend@chromium.org>
Cr-Commit-Position: refs/heads/master@{#549778}
1 parent 2e8fa7b
Raw File
make_hosts_file.py
import argparse
import os

from ..localpaths import repo_root

from ..serve.serve import load_config, make_hosts_file

def create_parser():
    parser = argparse.ArgumentParser()
    parser.add_argument("address", default="127.0.0.1", nargs="?", help="Address that hosts should point at")
    return parser

def run(**kwargs):
    config = load_config(os.path.join(repo_root, "config.default.json"),
                         os.path.join(repo_root, "config.json"))

    print(make_hosts_file(config, kwargs["address"]))
back to top