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

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

Issue 800863003: Kill PageSet.AddPage and its remaining usage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 | « no previous file | content/test/gpu/gpu_tests/hardware_accelerated_feature.py » ('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 (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 import os 4 import os
5 import time 5 import time
6 6
7 import context_lost_expectations 7 import context_lost_expectations
8 8
9 from telemetry import benchmark as benchmark_module 9 from telemetry import benchmark as benchmark_module
10 from telemetry.core import exceptions 10 from telemetry.core import exceptions
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 return context_lost_expectations.ContextLostExpectations() 321 return context_lost_expectations.ContextLostExpectations()
322 322
323 # For the record, this would have been another way to get the pages 323 # For the record, this would have been another way to get the pages
324 # to repeat. pageset_repeat would be another option. 324 # to repeat. pageset_repeat would be another option.
325 # options = {'page_repeat': 5} 325 # options = {'page_repeat': 5}
326 def CreatePageSet(self, options): 326 def CreatePageSet(self, options):
327 ps = page_set.PageSet( 327 ps = page_set.PageSet(
328 file_path=data_path, 328 file_path=data_path,
329 user_agent_type='desktop', 329 user_agent_type='desktop',
330 serving_dirs=set([''])) 330 serving_dirs=set(['']))
331 ps.AddPage(GPUProcessCrashesExactlyOnce(ps, ps.base_dir)) 331 ps.AddUserStory(GPUProcessCrashesExactlyOnce(ps, ps.base_dir))
332 ps.AddPage(WebGLContextLostFromGPUProcessExitPage(ps, ps.base_dir)) 332 ps.AddUserStory(WebGLContextLostFromGPUProcessExitPage(ps, ps.base_dir))
333 ps.AddPage(WebGLContextLostFromLoseContextExtensionPage(ps, ps.base_dir)) 333 ps.AddUserStory(
334 ps.AddPage(WebGLContextLostFromQuantityPage(ps, ps.base_dir)) 334 WebGLContextLostFromLoseContextExtensionPage(ps, ps.base_dir))
335 ps.AddPage(WebGLContextLostFromSelectElementPage(ps, ps.base_dir)) 335 ps.AddUserStory(WebGLContextLostFromQuantityPage(ps, ps.base_dir))
336 ps.AddPage(WebGLContextLostInHiddenTabPage(ps, ps.base_dir)) 336 ps.AddUserStory(WebGLContextLostFromSelectElementPage(ps, ps.base_dir))
337 ps.AddUserStory(WebGLContextLostInHiddenTabPage(ps, ps.base_dir))
337 return ps 338 return ps
OLDNEW
« no previous file with comments | « no previous file | content/test/gpu/gpu_tests/hardware_accelerated_feature.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698