def setup_environ_for_server(self, server_name=None): environment = WebKitPort.setup_environ_for_server(self, server_name) environment['GTK_MODULES'] = 'gail' environment['LIBOVERLAY_SCROLLBAR'] = '0' environment['TEST_RUNNER_INJECTED_BUNDLE_FILENAME'] = self._build_path('Libraries', 'libTestRunnerInjectedBundle.la') environment['TEST_RUNNER_TEST_PLUGIN_PATH'] = self._build_path('TestNetscapePlugin', '.libs') environment['WEBKIT_INSPECTOR_PATH'] = self._build_path('Programs', 'resources', 'inspector') return environment
def setup_environ_for_server(self, server_name=None): clean_env = WebKitPort.setup_environ_for_server(self, server_name) clean_env['QTWEBKIT_PLUGIN_PATH'] = self._build_path('lib/plugins') self._copy_value_from_environ_if_set(clean_env, 'QT_DRT_WEBVIEW_MODE') self._copy_value_from_environ_if_set(clean_env, 'DYLD_IMAGE_SUFFIX') self._copy_value_from_environ_if_set(clean_env, 'QT_WEBKIT_LOG') self._copy_value_from_environ_if_set(clean_env, 'DISABLE_NI_WARNING') self._copy_value_from_environ_if_set(clean_env, 'QT_WEBKIT_PAUSE_UI_PROCESS') return clean_env
def setup_environ_for_server(self, server_name=None): clean_env = WebKitPort.setup_environ_for_server(self, server_name) clean_env['QTWEBKIT_PLUGIN_PATH'] = self._build_path('lib/plugins') self._copy_value_from_environ_if_set(clean_env, 'QT_DRT_WEBVIEW_MODE') self._copy_value_from_environ_if_set(clean_env, 'DYLD_IMAGE_SUFFIX') self._copy_value_from_environ_if_set(clean_env, 'QT_WEBKIT_LOG') self._copy_value_from_environ_if_set(clean_env, 'DISABLE_NI_WARNING') self._copy_value_from_environ_if_set(clean_env, 'QT_WEBKIT_PAUSE_UI_PROCESS') return clean_env
def setup_environ_for_server(self, server_name=None): environment = WebKitPort.setup_environ_for_server(self, server_name) environment['GTK_MODULES'] = 'gail' environment['LIBOVERLAY_SCROLLBAR'] = '0' environment['TEST_RUNNER_INJECTED_BUNDLE_FILENAME'] = self._build_path('Libraries', 'libTestRunnerInjectedBundle.la') environment['TEST_RUNNER_TEST_PLUGIN_PATH'] = self._build_path('TestNetscapePlugin', '.libs') environment['WEBKIT_INSPECTOR_PATH'] = self._build_path('Programs', 'resources', 'inspector') environment['WEBKIT_TOP_LEVEL'] = self._config.webkit_base_dir() if self.get_option('webkit_test_runner'): # FIXME: This is a workaround to ensure that testing with WebKitTestRunner is started with # a non-existing cache. This should be removed when (and if) it will be possible to properly # set the cache directory path through a WebKitWebContext. environment['XDG_CACHE_HOME'] = self._filesystem.join(self.results_directory(), 'appcache') return environment
def setup_environ_for_server(self, server_name=None): environment = WebKitPort.setup_environ_for_server(self, server_name) environment["GTK_MODULES"] = "gail" environment["GSETTINGS_BACKEND"] = "memory" environment["LIBOVERLAY_SCROLLBAR"] = "0" environment["TEST_RUNNER_INJECTED_BUNDLE_FILENAME"] = self._build_path( "Libraries", "libTestRunnerInjectedBundle.la" ) environment["TEST_RUNNER_TEST_PLUGIN_PATH"] = self._build_path("TestNetscapePlugin", ".libs") environment["WEBKIT_INSPECTOR_PATH"] = self._build_path("Programs", "resources", "inspector") environment["AUDIO_RESOURCES_PATH"] = self._filesystem.join( self._config.webkit_base_dir(), "Source", "WebCore", "platform", "audio", "resources" ) if self.get_option("webkit_test_runner"): # FIXME: This is a workaround to ensure that testing with WebKitTestRunner is started with # a non-existing cache. This should be removed when (and if) it will be possible to properly # set the cache directory path through a WebKitWebContext. environment["XDG_CACHE_HOME"] = self._filesystem.join(self.results_directory(), "appcache") return environment
def setup_environ_for_server(self, server_name=None): environment = WebKitPort.setup_environ_for_server(self, server_name) environment['GTK_MODULES'] = 'gail' environment['LIBOVERLAY_SCROLLBAR'] = '0' environment['TEST_RUNNER_INJECTED_BUNDLE_FILENAME'] = self._build_path( 'Libraries', 'libTestRunnerInjectedBundle.la') environment['TEST_RUNNER_TEST_PLUGIN_PATH'] = self._build_path( 'TestNetscapePlugin', '.libs') environment['WEBKIT_INSPECTOR_PATH'] = self._build_path( 'Programs', 'resources', 'inspector') environment['AUDIO_RESOURCES_PATH'] = self._filesystem.join( self._config.webkit_base_dir(), 'Source', 'WebCore', 'platform', 'audio', 'resources') if self.get_option('webkit_test_runner'): # FIXME: This is a workaround to ensure that testing with WebKitTestRunner is started with # a non-existing cache. This should be removed when (and if) it will be possible to properly # set the cache directory path through a WebKitWebContext. environment['XDG_CACHE_HOME'] = self._filesystem.join( self.results_directory(), 'appcache') return environment
def setup_environ_for_server(self, server_name=None): env = WebKitPort.setup_environ_for_server(self, server_name) env['QTWEBKIT_PLUGIN_PATH'] = self._build_path('lib/plugins') return env
def setup_environ_for_server(self, server_name=None): clean_env = WebKitPort.setup_environ_for_server(self, server_name) clean_env['QTWEBKIT_PLUGIN_PATH'] = self._build_path('lib/plugins') self._copy_value_from_environ_if_set(clean_env, 'QT_DRT_WEBVIEW_MODE') return clean_env
def setup_environ_for_server(self, server_name=None): clean_env = WebKitPort.setup_environ_for_server(self, server_name) clean_env['QTWEBKIT_PLUGIN_PATH'] = self._build_path('lib/plugins') self._copy_value_from_environ_if_set(clean_env, 'QT_DRT_WEBVIEW_MODE') return clean_env
def setup_environ_for_server(self): env = WebKitPort.setup_environ_for_server(self) env["QTWEBKIT_PLUGIN_PATH"] = self._build_path("lib/plugins") return env
def setup_environ_for_server(self, server_name=None): env = WebKitPort.setup_environ_for_server(self, server_name) env['QTWEBKIT_PLUGIN_PATH'] = self._build_path('lib/plugins') return env