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

Unified Diff: content/test/gpu/page_sets/pixel_tests.py

Issue 2355913002: Add a new shared page state in pixel_tests.py (Closed)
Patch Set: add parameter in trace test Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/test/gpu/gpu_tests/trace_test_expectations.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/gpu/page_sets/pixel_tests.py
diff --git a/content/test/gpu/page_sets/pixel_tests.py b/content/test/gpu/page_sets/pixel_tests.py
index f53567fd571eb0ad813599e4668abfbf0819cec3..5e535da66f5737fe0afb8a164d21e68635c104c9 100644
--- a/content/test/gpu/page_sets/pixel_tests.py
+++ b/content/test/gpu/page_sets/pixel_tests.py
@@ -65,6 +65,14 @@ class DisableMacOverlaysSharedPageState(gpu_test_base.GpuSharedPageState):
['--disable-mac-overlays'])
+class EnableExperimentalCanvasFeaturesSharedPageState(
+ gpu_test_base.GpuSharedPageState):
+ def __init__(self, test, finder_options, story_set):
+ super(EnableExperimentalCanvasFeaturesSharedPageState, self).__init__(
+ test, finder_options, story_set)
+ finder_options.browser_options.AppendExtraBrowserArgs(
+ ['--enable-experimental-canvas-features'])
+
class PixelTestsStorySet(story_set_module.StorySet):
""" Some basic test cases for GPU. """
@@ -172,7 +180,7 @@ class PixelTestsStorySet(story_set_module.StorySet):
test_rect=[0, 0, 300, 300],
revision=1,
story_set=self,
- shared_page_state_class=shared_page_state_class,
+ shared_page_state_class=EnableExperimentalCanvasFeaturesSharedPageState,
expectations=expectations))
self.AddStory(PixelTestsPage(
« no previous file with comments | « content/test/gpu/gpu_tests/trace_test_expectations.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698