| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 from telemetry.page import page as page_module | 4 from telemetry.page import page as page_module |
| 5 from telemetry import story | 5 from telemetry import story |
| 6 | 6 |
| 7 | 7 |
| 8 class ToughCanvasCasesPage(page_module.Page): | 8 class ToughCanvasCasesPage(page_module.Page): |
| 9 | 9 |
| 10 def __init__(self, url, page_set): | 10 def __init__(self, url, page_set): |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 | 36 |
| 37 class ToughCanvasCasesPageSet(story.StorySet): | 37 class ToughCanvasCasesPageSet(story.StorySet): |
| 38 | 38 |
| 39 """ | 39 """ |
| 40 Description: Self-driven Canvas2D animation examples | 40 Description: Self-driven Canvas2D animation examples |
| 41 """ | 41 """ |
| 42 | 42 |
| 43 def __init__(self): | 43 def __init__(self): |
| 44 super(ToughCanvasCasesPageSet, self).__init__( | 44 super(ToughCanvasCasesPageSet, self).__init__( |
| 45 archive_data_file='data/tough_canvas_cases.json', | 45 archive_data_file='data/tough_canvas_cases.json', |
| 46 cloud_storage_bucket=story.PARTNER_BUCKET, | 46 cloud_storage_bucket=story.PARTNER_BUCKET) |
| 47 verify_names=True) | |
| 48 | 47 |
| 49 # Crashes on Galaxy Nexus. crbug.com/314131 | 48 # Crashes on Galaxy Nexus. crbug.com/314131 |
| 50 # self.AddStory(MicrosofFirefliesPage(self)) | 49 # self.AddStory(MicrosofFirefliesPage(self)) |
| 51 | 50 |
| 52 # Failing on Nexus 5 (http://crbug.com/364248): | 51 # Failing on Nexus 5 (http://crbug.com/364248): |
| 53 # 'http://geoapis.appspot.com/agdnZW9hcGlzchMLEgtFeGFtcGxlQ29kZRjh1wIM', | 52 # 'http://geoapis.appspot.com/agdnZW9hcGlzchMLEgtFeGFtcGxlQ29kZRjh1wIM', |
| 54 | 53 |
| 55 urls_list = [ | 54 urls_list = [ |
| 56 'http://runway.countlessprojects.com/prototype/performance_test.html', | 55 'http://runway.countlessprojects.com/prototype/performance_test.html', |
| 57 # pylint: disable=line-too-long | 56 # pylint: disable=line-too-long |
| (...skipping 29 matching lines...) Expand all Loading... |
| 87 'file://tough_canvas_cases/rendering_throughput/fill_shapes.html', | 86 'file://tough_canvas_cases/rendering_throughput/fill_shapes.html', |
| 88 'file://tough_canvas_cases/rendering_throughput/stroke_shapes.html', | 87 'file://tough_canvas_cases/rendering_throughput/stroke_shapes.html', |
| 89 'file://tough_canvas_cases/rendering_throughput/bouncing_clipped_rectangle
s.html', | 88 'file://tough_canvas_cases/rendering_throughput/bouncing_clipped_rectangle
s.html', |
| 90 'file://tough_canvas_cases/rendering_throughput/bouncing_gradient_circles.
html', | 89 'file://tough_canvas_cases/rendering_throughput/bouncing_gradient_circles.
html', |
| 91 'file://tough_canvas_cases/rendering_throughput/bouncing_svg_images.html', | 90 'file://tough_canvas_cases/rendering_throughput/bouncing_svg_images.html', |
| 92 'file://tough_canvas_cases/rendering_throughput/bouncing_png_images.html' | 91 'file://tough_canvas_cases/rendering_throughput/bouncing_png_images.html' |
| 93 ] | 92 ] |
| 94 | 93 |
| 95 for url in urls_list: | 94 for url in urls_list: |
| 96 self.AddStory(ToughCanvasCasesPage(url, self)) | 95 self.AddStory(ToughCanvasCasesPage(url, self)) |
| OLD | NEW |