Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Side by Side Diff: content/test/gpu/gpu_tests/webgl_conformance_integration_test.py

Issue 2851453003: Revert of Rename kDisableGestureRequirementForMediaPlayback and make it a test-only flag. (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/shell/app/shell_main_delegate.cc ('k') | media/base/android/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import logging 5 import logging
6 import os 6 import os
7 import sys 7 import sys
8 8
9 from gpu_tests import gpu_integration_test 9 from gpu_tests import gpu_integration_test
10 from gpu_tests import path_util 10 from gpu_tests import path_util
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 extension=extension, context_type=context_type) 248 extension=extension, context_type=context_type)
249 self._CheckTestCompletion() 249 self._CheckTestCompletion()
250 250
251 @classmethod 251 @classmethod
252 def CustomizeOptions(cls): 252 def CustomizeOptions(cls):
253 assert cls._webgl_version == 1 or cls._webgl_version == 2 253 assert cls._webgl_version == 1 or cls._webgl_version == 2
254 browser_options = cls._finder_options.browser_options 254 browser_options = cls._finder_options.browser_options
255 # --test-type=gpu is used only to suppress the "Google API Keys are missing" 255 # --test-type=gpu is used only to suppress the "Google API Keys are missing"
256 # infobar, which causes flakiness in tests. 256 # infobar, which causes flakiness in tests.
257 browser_options.AppendExtraBrowserArgs([ 257 browser_options.AppendExtraBrowserArgs([
258 '--ignore-autoplay-restrictions', 258 '--disable-gesture-requirement-for-media-playback',
259 '--disable-domain-blocking-for-3d-apis', 259 '--disable-domain-blocking-for-3d-apis',
260 '--disable-gpu-process-crash-limit', 260 '--disable-gpu-process-crash-limit',
261 '--test-type=gpu', 261 '--test-type=gpu',
262 '--enable-experimental-canvas-features', 262 '--enable-experimental-canvas-features',
263 # Try disabling the GPU watchdog to see if this affects the 263 # Try disabling the GPU watchdog to see if this affects the
264 # intermittent GPU process hangs that have been seen on the 264 # intermittent GPU process hangs that have been seen on the
265 # waterfall. crbug.com/596622 crbug.com/609252 265 # waterfall. crbug.com/596622 crbug.com/609252
266 '--disable-gpu-watchdog' 266 '--disable-gpu-watchdog'
267 ]) 267 ])
268 268
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 if webgl_version > 1: 396 if webgl_version > 1:
397 test += '?webglVersion=' + str(webgl_version) 397 test += '?webglVersion=' + str(webgl_version)
398 test_paths.append(test) 398 test_paths.append(test)
399 399
400 return test_paths 400 return test_paths
401 401
402 402
403 def load_tests(loader, tests, pattern): 403 def load_tests(loader, tests, pattern):
404 del loader, tests, pattern # Unused. 404 del loader, tests, pattern # Unused.
405 return gpu_integration_test.LoadAllTestsInModule(sys.modules[__name__]) 405 return gpu_integration_test.LoadAllTestsInModule(sys.modules[__name__])
OLDNEW
« no previous file with comments | « content/shell/app/shell_main_delegate.cc ('k') | media/base/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698