MCPcopy Create free account
hub / github.com/nodejs/node / get_chrome_replay_flags

Function get_chrome_replay_flags

deps/v8/tools/callstats.py:146–160  ·  view source on GitHub ↗
(args, arg_delimiter="")

Source from the content-addressed store, hash-verified

144 ]
145
146def get_chrome_replay_flags(args, arg_delimiter=""):
147 http_port = 4080 + args.port_offset
148 https_port = 4443 + args.port_offset
149 return [
150 "--host-resolver-rules=%sMAP *:80 localhost:%s, " \
151 "MAP *:443 localhost:%s, " \
152 "EXCLUDE localhost%s" % (
153 arg_delimiter, http_port, https_port,
154 arg_delimiter),
155 "--ignore-certificate-errors",
156 "--disable-seccomp-sandbox",
157 "--disable-web-security",
158 "--reduce-security-for-testing",
159 "--allow-insecure-localhost",
160 ]
161
162def run_site(site, domain, args, timeout=None):
163 print("="*80)

Callers 2

run_siteFunction · 0.85
do_run_replay_serverFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected