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

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

Issue 2365653005: Fix failing transferToImageBitmap layout tests and commit pixel test on Mac (Closed)
Patch Set: fix typo in expectation 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
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 28bf9b4ed254b93118d4cbddd6faa5104ef0d1dd..115b8fb34705b17d6363aa7dc053abb0493711be 100644
--- a/content/test/gpu/page_sets/pixel_tests.py
+++ b/content/test/gpu/page_sets/pixel_tests.py
@@ -175,10 +175,29 @@ class PixelTestsStorySet(story_set_module.StorySet):
shared_page_state_class = gpu_test_base.GpuSharedPageState
self.AddStory(PixelTestsPage(
+ url='file://../../data/gpu/pixel_offscreenCanvas_transferToImageBitmap_main.html',
+ name=base_name + '.OffscreenCanvasTransferToImageBitmap' + es3_suffix,
+ test_rect=[0, 0, 300, 300],
+ revision=1,
+ story_set=self,
+ shared_page_state_class=EnableExperimentalCanvasFeaturesSharedPageState,
+ expectations=expectations))
+
+ self.AddStory(PixelTestsPage(
+ url='file://../../data/gpu/pixel_offscreenCanvas_transferToImageBitmap_worker.html',
+ name=base_name + '.OffscreenCanvasTransferToImageBitmapWorker' + \
+ es3_suffix,
+ test_rect=[0, 0, 300, 300],
+ revision=1,
+ story_set=self,
+ shared_page_state_class=EnableExperimentalCanvasFeaturesSharedPageState,
+ expectations=expectations))
Ken Russell (switch to Gerrit) 2016/09/26 18:21:47 Could you add these two new pages in __init__, abo
xidachen 2016/09/26 19:24:03 Thank you for pointing it out. That makes perfect
+
+ self.AddStory(PixelTestsPage(
url='file://../../data/gpu/pixel_offscreenCanvas_webgl_commit_main.html',
name=base_name + '.OffscreenCanvasWebGLGreenBox' + es3_suffix,
test_rect=[0, 0, 300, 300],
- revision=1,
+ revision=2,
story_set=self,
shared_page_state_class=EnableExperimentalCanvasFeaturesSharedPageState,
expectations=expectations))
@@ -187,7 +206,7 @@ class PixelTestsStorySet(story_set_module.StorySet):
url='file://../../data/gpu/pixel_offscreenCanvas_webgl_commit_worker.html',
name=base_name + '.OffscreenCanvasWebGLRedBoxWorker' + es3_suffix,
test_rect=[0, 0, 300, 300],
- revision=2,
+ revision=3,
story_set=self,
shared_page_state_class=EnableExperimentalCanvasFeaturesSharedPageState,
expectations=expectations))

Powered by Google App Engine
This is Rietveld 408576698