(args, arg_delimiter="")
| 144 | ] |
| 145 | |
| 146 | def 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 | |
| 162 | def run_site(site, domain, args, timeout=None): |
| 163 | print("="*80) |
no outgoing calls
no test coverage detected