(args)
| 301 | |
| 302 | |
| 303 | def do_run_replay_server(args): |
| 304 | sites = read_sites(args) |
| 305 | print("- " * 40) |
| 306 | print("Available URLs:") |
| 307 | for site in sites: |
| 308 | print(" "+site['url']) |
| 309 | print("- " * 40) |
| 310 | print("Launch chromium with the following commands for debugging:") |
| 311 | flags = get_chrome_flags("--runtime-call-stats --allow-natives-syntax", |
| 312 | "/var/tmp/`date +%s`", '"') |
| 313 | flags += get_chrome_replay_flags(args, "'") |
| 314 | print(" $CHROMIUM_DIR/out/Release/chrome " + (" ".join(flags)) + " <URL>") |
| 315 | print("- " * 40) |
| 316 | replay_server = start_replay_server(args, sites, discard_output=False) |
| 317 | try: |
| 318 | replay_server['process'].wait() |
| 319 | finally: |
| 320 | stop_replay_server(replay_server) |
| 321 | |
| 322 | |
| 323 | # Calculate statistics. |
nothing calls this directly
no test coverage detected