def __init__(self, host, port_name, **kwargs): ApplePort.__init__(self, host, port_name, **kwargs) if port_name.split('-') > 1: self._os_version = VersionNameMap.map(host.platform).from_name( port_name.split('-')[1])[1] else: self._os_version = self.host.platform.os_version
def __init__(self, host, port_name, **kwargs): ApplePort.__init__(self, host, port_name, **kwargs) self._leak_detector = LeakDetector(self) if self.get_option("leaks"): # DumpRenderTree slows down noticably if we run more than about 1000 tests in a batch # with MallocStackLogging enabled. self.set_option_default("batch_size", 1000)
def __init__(self, host, port_name, **kwargs): ApplePort.__init__(self, host, port_name, **kwargs) self._abs_results_directory = None