diff options
Diffstat (limited to 'Tools/Scripts/webkitpy/performance_tests/perftest.py')
| -rw-r--r-- | Tools/Scripts/webkitpy/performance_tests/perftest.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Tools/Scripts/webkitpy/performance_tests/perftest.py b/Tools/Scripts/webkitpy/performance_tests/perftest.py index 20d3d5838..896bad4fa 100644 --- a/Tools/Scripts/webkitpy/performance_tests/perftest.py +++ b/Tools/Scripts/webkitpy/performance_tests/perftest.py @@ -36,10 +36,13 @@ import os import signal import socket import subprocess +import sys import time # Import for auto-install -import webkitpy.thirdparty.autoinstalled.webpagereplay.replay +if sys.platform != 'win32': + # FIXME: webpagereplay doesn't work on win32. See https://bugs.webkit.org/show_bug.cgi?id=88279. + import webkitpy.thirdparty.autoinstalled.webpagereplay.replay from webkitpy.layout_tests.controllers.test_result_writer import TestResultWriter from webkitpy.layout_tests.port.driver import DriverInput @@ -216,10 +219,10 @@ class ReplayServer(object): def __init__(self, archive, record): self._process = None - # FIXME: Should error if local proxy isn't set to forward requests to localhost:8080 and localhost:8413 + # FIXME: Should error if local proxy isn't set to forward requests to localhost:8080 and localhost:8443 replay_path = webkitpy.thirdparty.autoinstalled.webpagereplay.replay.__file__ - args = ['python', replay_path, '--no-dns_forwarding', '--port', '8080', '--ssl_port', '8413', '--use_closest_match', '--log_level', 'warning'] + args = ['python', replay_path, '--no-dns_forwarding', '--port', '8080', '--ssl_port', '8443', '--use_closest_match', '--log_level', 'warning'] if record: args.append('--record') args.append(archive) |
