[refactor] More post-NSS WebCrypto cleanups (utility functions).
[chromium-blink-merge.git] / tools / perf / page_sets / tough_animated_image_cases.py
blob67193ead0d387fea410e2141db4243b15ed6ae32
1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4 from telemetry.page import page as page_module
5 from telemetry import story
7 class ToughAnimatedImageCasesPage(page_module.Page):
9 def __init__(self, url, page_set):
10 super(ToughAnimatedImageCasesPage, self).__init__(
11 url=url, page_set=page_set)
13 def RunPageInteractions(self, action_runner):
14 with action_runner.CreateInteraction('ToughAnimatedImage'):
15 action_runner.Wait(10)
17 class ToughAnimatedImageCasesPageSet(story.StorySet):
19 """
20 Description: A collection of difficult animated image tests
21 """
23 def __init__(self):
24 super(ToughAnimatedImageCasesPageSet, self).__init__()
26 urls_list = [
27 'file://tough_animated_image_cases/gifs.html'
30 for url in urls_list:
31 self.AddStory(ToughAnimatedImageCasesPage(url, self))